IniFile.GetKeyComments Method

IniFileIO

IniFileGetKeyComments Method

IniFileIO Documentation
Returns the comments of keyName within the specified sectionName.

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

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

Parameters

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

Return Value

Type: String
Comments of the first occurance of the keyNames within sectionName.
Remarks

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

Reference