Click or drag to resize

IniFile Class

Represents a Windows INI style configuration file.
Inheritance Hierarchy
SystemObject
  GSF.InteropIniFile

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public class IniFile
View Source

The IniFile type exposes the following members.

Constructors
 NameDescription
Public methodIniFile Creates a new IniFile.
Public methodIniFile(String) Creates a new IniFile using the specified INI file name.
Top
Properties
 NameDescription
Public propertyFileName File name of the INI file.
Public propertyItemString, String Gets or sets the value of the specified key.
Public propertyItemString, String, String Gets the value of the specified key.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetKeyValue(String, String) Gets the value of the specified key.
Public methodGetKeyValue(String, String, String) Gets the value of the specified key.
Public methodGetSectionKeys Gets an array of keys from the specified section in the INI file.
Public methodGetSectionNames Gets an array of that section names that exist in the INI file.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetKeyValue Sets the value of the specified key.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also