IniFileKeyNameCount Method |
IniFileIO Documentation |
Returns the count of keys with the name keyName appearing in sectionName.
Namespace: IniFileIO
Assembly: IniFileIO (in IniFileIO.dll) Version: 1.4.0.6028 (1.4.0.06028)
Syntax
public int KeyNameCount( string sectionName, string keyName )
Public Function KeyNameCount ( sectionName As String, keyName As String ) As Integer
public: int KeyNameCount( String^ sectionName, String^ keyName )
member KeyNameCount : sectionName : string * keyName : string -> int
Parameters
- sectionName
- Type: SystemString
Parent section to search. - keyName
- Type: SystemString
Target key name to count.
Return Value
Type: Int32Number of times keyName appears in the first occurrance of section sectionName.
Remarks
See Also