IniFile.GetSection Method

IniFileIO

IniFileGetSection Method

IniFileIO Documentation
Returns the section with the specified name. If the section does not exist, an empty IniFileSection is returned.

Namespace:  IniFileIO
Assembly:  IniFileIO (in IniFileIO.dll) Version: 1.4.0.6028 (1.4.0.06028)
Syntax

public IniFileSection GetSection(
	string name
)
Public Function GetSection ( 
	name As String
) As IniFileSection
public:
IniFileSection GetSection(
	String^ name
)
member GetSection : 
        name : string -> IniFileSection 

Parameters

name
Type: SystemString
Section name to get.

Return Value

Type: IniFileSection
Entire section of the first occurance of the section with the specified name.
Remarks

In the event of multiple sections with the specified name, only the first occurrance is returned.
See Also

Reference