IniFileKeyNameExists Method |
IniFileIO Documentation |
Returns whether or not a key with the name keyName exists in sectionName.
Namespace: IniFileIO
Assembly: IniFileIO (in IniFileIO.dll) Version: 1.4.0.6028 (1.4.0.06028)
Syntax
public bool KeyNameExists( string sectionName, string keyName )
Public Function KeyNameExists ( sectionName As String, keyName As String ) As Boolean
public: bool KeyNameExists( String^ sectionName, String^ keyName )
member KeyNameExists : sectionName : string * keyName : string -> bool
Parameters
- sectionName
- Type: SystemString
Parent section to search. - keyName
- Type: SystemString
Target key name to find.
Return Value
Type: BooleanWhether a key with the specified keyName exists within sectionName.
See Also