IniFile.GetKey Method

IniFileIO

IniFileGetKey Method

IniFileIO Documentation
Returns the full key within the specified sectionName. If the key does not exist, an empty IniFileKey is returned.

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

public IniFileKey GetKey(
	string sectionName,
	string keyName
)
Public Function GetKey ( 
	sectionName As String,
	keyName As String
) As IniFileKey
public:
IniFileKey GetKey(
	String^ sectionName, 
	String^ keyName
)
member GetKey : 
        sectionName : string * 
        keyName : string -> IniFileKey 

Parameters

sectionName
Type: SystemString
Parent section to search.
keyName
Type: SystemString
Name of the target key.

Return Value

Type: IniFileKey
Entire key of the first occurance of keyName within sectionName.
Remarks

In the event of multiple keyNames within sectionName, only the first occurrance is returned.
See Also

Reference