Nini Library API Reference -

IniSection Members

IniSection overview

Public Instance Constructors

IniSection Overloaded. Initializes a new instance of the IniSection class.

Public Instance Properties

CommentGets the section comment.
ItemCount Returns the number of items in the section. This includes keys, comments, and empty lines.
NameGets the name of the section.

Public Instance Methods

Contains Returns true if the key exists; false if it does not.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetItemReturns the IniItem at the given index.
GetKeysReturns the list of section keys.
GetType (inherited from Object)Gets the Type of the current instance.
GetValueReturns the value of the given key.
RemoveRemoves the supplied key.
SetOverloaded. Sets a key value and a comment.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

IniSection Class | Nini.Ini Namespace