IniFile.MakeKey Method

IniFileIO

IniFileMakeKey Method

IniFileIO Documentation
Creates a new unattached IniFileKey.

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

public static IniFileKey MakeKey(
	string name,
	string value,
	string comments = "",
	int order = 2147483647
)
Public Shared Function MakeKey ( 
	name As String,
	value As String,
	Optional comments As String = "",
	Optional order As Integer = 2147483647
) As IniFileKey
public:
static IniFileKey MakeKey(
	String^ name, 
	String^ value, 
	String^ comments = L"", 
	int order = 2147483647
)
static member MakeKey : 
        name : string * 
        value : string * 
        ?comments : string * 
        ?order : int 
(* Defaults:
        let _comments = defaultArg comments ""
        let _order = defaultArg order 2147483647
*)
-> IniFileKey 

Parameters

name
Type: SystemString
Name of the key.
value
Type: SystemString
Value assigned to the key.
comments (Optional)
Type: SystemString
Comments for the key.
order (Optional)
Type: SystemInt32
Sequential placement with respect to existing keys.

Return Value

Type: IniFileKey
New key with the specified properties assigned.
Remarks

See Also

Reference