IniSectionCollection Class

Represents a strongly typed list of IniSection that can be accessed by an index.

Definition

Namespace: DevCase.Core.Application.UserSettings
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[SerializableAttribute]
[XmlRootAttribute("IniSectionCollection")]
public sealed class IniSectionCollection : Collection<IniSection>
Inheritance
Object    CollectionIniSection    IniSectionCollection

Constructors

IniSectionCollection Initializes a new instance of the IniSectionCollection class.

Properties

Count Gets the number of elements actually contained in the CollectionT.
(Inherited from CollectionIniSection)
ItemInt32 Gets or sets the element at the specified index.
(Inherited from CollectionIniSection)
ItemString Gets or sets the IniSection that matches the specified section name.

Methods

Add(IniSection) Adds a IniSection to the end of the IniSectionCollection.
Add(String) Adds a IniSection to the end of the IniSectionCollection.
AddRange(IniSection) Adds the specified sections to the end of the IniSectionCollection.
AddRange(String) Adds the specified section names to the end of the IniSectionCollection.
Clear Removes all elements from the CollectionT.
(Inherited from CollectionIniSection)
Contains(T) Determines whether an element is in the CollectionT.
(Inherited from CollectionIniSection)
Contains(String) Determines whether the IniSectionCollection contains a IniSection that matches the specified section name.
CopyTo Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionIniSection)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Find Searches for an IniSection that matches the specified section name, and returns the first occurrence within the entire IniSectionCollection.
GetEnumerator Returns an enumerator that iterates through the CollectionT.
(Inherited from CollectionIniSection)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
IndexOf(T) Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionIniSection)
IndexOf(String) Searches for an IniSection that matches the specified section name and returns the zero-based index of the first occurrence within the entire IniSectionCollection.
Insert Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionIniSection)
Remove(IniSection) Removes a IniSection from the IniSectionCollection.
Remove(String) Removes a IniSection from the IniSectionCollection.
RemoveAt Removes the element at the specified index of the CollectionT.
(Inherited from CollectionIniSection)
ToString Returns a string that represents the current object.
(Inherited from Object)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also