IniFile.GetAllKeysWithAValue Method

IniFileIO

IniFileGetAllKeysWithAValue Method

IniFileIO Documentation
Returns the all the keys matching keyName in the specified sectionName which have a non-empty Value.

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

public IniFileKey[] GetAllKeysWithAValue(
	string sectionName,
	string keyName = ""
)
Public Function GetAllKeysWithAValue ( 
	sectionName As String,
	Optional keyName As String = ""
) As IniFileKey()
public:
array<IniFileKey>^ GetAllKeysWithAValue(
	String^ sectionName, 
	String^ keyName = L""
)
member GetAllKeysWithAValue : 
        sectionName : string * 
        ?keyName : string 
(* Defaults:
        let _keyName = defaultArg keyName ""
*)
-> IniFileKey[] 

Parameters

sectionName
Type: SystemString
Parent section to search.
keyName (Optional)
Type: SystemString
If provided, only the keys matching the specified value are returned. If not provided, all keys in the section are returned.

Return Value

Type: IniFileKey
Keys within the provided section which have a non-empty Value property.
See Also

Reference