IniFile.GetSectionOutput Method

IniFileIO

IniFileGetSectionOutput Method

IniFileIO Documentation
Gets the IniFileSection output which is written to the ini file.

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

public static string GetSectionOutput(
	IniFileSection section,
	bool preserveOrders = false
)
Public Shared Function GetSectionOutput ( 
	section As IniFileSection,
	Optional preserveOrders As Boolean = false
) As String
public:
static String^ GetSectionOutput(
	IniFileSection section, 
	bool preserveOrders = false
)
static member GetSectionOutput : 
        section : IniFileSection * 
        ?preserveOrders : bool 
(* Defaults:
        let _preserveOrders = defaultArg preserveOrders false
*)
-> string 

Parameters

section
Type: IniFileIOIniFileSection
The section to get output for.
preserveOrders (Optional)
Type: SystemBoolean
Whether or not the ordering of the keys should be honored. For large sections, this may incur a peformance hit.

Return Value

Type: String
Format: {Comment} [{Section}] {Key1} {...} {KeyN} {carriage return} {carriage return}
Remarks

Using LINQ would make the key sorting easier.
See Also

Reference