PeterO.IniSection
## PeterO.IniSection
public sealed class IniSection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable
Not documented yet.
Member Summary
[Add(PeterO.IniEntry)](#Add_PeterO_IniEntry)
- Not documented yet.[Add(PeterO.IniEntry, PeterO.IniMergeBehavior)](#Add_PeterO_IniEntry_PeterO_IniMergeBehavior)
- Adds two IniEntry objects.[AddComment(string)](#AddComment_string)
- Not documented yet.[AddEntry(string, string)](#AddEntry_string_string)
- Not documented yet.[AddEntry(string, string, PeterO.IniMergeBehavior)](#AddEntry_string_string_PeterO_IniMergeBehavior)
- Not documented yet.[Clear()](#Clear)
- Not documented yet.[Count](#Count)
- Gets a value not documented yet.[GetValue(string)](#GetValue_string)
- Not documented yet.[Name](#Name)
- Gets a value not documented yet.[RemoveEntry(string)](#RemoveEntry_string)
- Not documented yet.[SetValue(string, string)](#SetValue_string_string)
- Not documented yet.[this[int]](#this_int)
- Not documented yet.[ToString()](#ToString)
- Converts this object to a text string.
public IniSection( PeterO.IniSection other);
Initializes a new instance of the PeterO.IniSection class.
Parameters:
- other: The parameter other is an IniSection object.
Exceptions:
- System.ArgumentNullException: The parameter other is null.
public IniSection( string name);
Initializes a new instance of the PeterO.IniSection class.
Parameters:
- name: The parameter name is a text string.
public int Count { get; }
Gets a value not documented yet.
Returns:
A value not documented yet.
public PeterO.IniEntry this[int index] { get; set; }
Not documented yet.
Parameters:
- index: The parameter index is a 32-bit signed integer.
Return Value:
An IniEntry object.
public string Name { get; }
Gets a value not documented yet.
Returns:
A value not documented yet.
public void Add( PeterO.IniEntry entry);
Not documented yet.
Parameters:
- entry: The parameter entry is a IniEntry object.
public void Add( PeterO.IniEntry entry, PeterO.IniMergeBehavior behavior);
Adds two IniEntry objects.
Parameters:
-
entry: The parameter entry is an IniEntry object.
-
behavior: The parameter behavior is an IniMergeBehavior object.
Exceptions:
- System.ArgumentNullException: The parameter entry is null.
public void AddComment( string comment);
Not documented yet.
Parameters:
- comment: The parameter comment is a text string.
public void AddEntry( string key, string value);
Not documented yet.
Parameters:
-
key: The parameter key is a text string.
-
value: The parameter value is a text string.
public void AddEntry( string key, string value, PeterO.IniMergeBehavior behavior);
Not documented yet.
Parameters:
-
key: The parameter key is a text string.
-
value: The parameter value is a text string.
-
behavior: The parameter behavior is a IniMergeBehavior object.
Exceptions:
- System.ArgumentNullException: The parameter “keyName” is null.
public void Clear();
Not documented yet.
public string GetValue( string keyName);
Not documented yet.
Parameters:
- keyName: The parameter keyName is a text string.
Return Value:
A text string.
Exceptions:
- System.ArgumentNullException: The parameter keyName is null.
public void RemoveEntry( string key);
Not documented yet.
Parameters:
- key: The parameter key is a text string.
Exceptions:
- System.ArgumentNullException: The parameter key is null.
public void SetValue( string keyName, string value);
Not documented yet.
Parameters:
-
keyName: The parameter keyName is a text string.
-
value: The parameter value is a text string.
Exceptions:
- System.ArgumentNullException: The parameter keyName is null.
public override string ToString();
Converts this object to a text string.
Return Value:
A text string.