Click or drag to resize

IniFileSectionGetIniFileSection Method

Return an IniFileSection. If an error occurs (file not found or section not found) a default IniFileSection will be returned that always returns the default value.

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static IniFileSection GetIniFileSection(
	IniFile iniFile,
	string sectionName,
	IDiagnostics diagnostics,
	string notFoundDiagnosticsItemID
)

Parameters

iniFile
Type: DHI.Mike1D.GenericIniFile

[Missing <param name="iniFile"/> documentation for "M:DHI.Mike1D.Generic.IniFileSection.GetIniFileSection(DHI.Mike1D.Generic.IniFile,System.String,DHI.Mike1D.Generic.IDiagnostics,System.String)"]

sectionName
Type: SystemString

[Missing <param name="sectionName"/> documentation for "M:DHI.Mike1D.Generic.IniFileSection.GetIniFileSection(DHI.Mike1D.Generic.IniFile,System.String,DHI.Mike1D.Generic.IDiagnostics,System.String)"]

diagnostics
Type: DHI.Mike1D.GenericIDiagnostics

[Missing <param name="diagnostics"/> documentation for "M:DHI.Mike1D.Generic.IniFileSection.GetIniFileSection(DHI.Mike1D.Generic.IniFile,System.String,DHI.Mike1D.Generic.IDiagnostics,System.String)"]

notFoundDiagnosticsItemID
Type: SystemString

[Missing <param name="notFoundDiagnosticsItemID"/> documentation for "M:DHI.Mike1D.Generic.IniFileSection.GetIniFileSection(DHI.Mike1D.Generic.IniFile,System.String,DHI.Mike1D.Generic.IDiagnostics,System.String)"]

Return Value

Type: IniFileSection

[Missing <returns> documentation for "M:DHI.Mike1D.Generic.IniFileSection.GetIniFileSection(DHI.Mike1D.Generic.IniFile,System.String,DHI.Mike1D.Generic.IDiagnostics,System.String)"]

See Also