SettingsPropertyCollection Class

Definition

Contains a collection of SettingsProperty objects.

public ref class SettingsPropertyCollection : ICloneable, System::Collections::ICollection
public class SettingsPropertyCollection : ICloneable, System.Collections.ICollection
type SettingsPropertyCollection = class
    interface ICollection
    interface IEnumerable
    interface ICloneable
type SettingsPropertyCollection = class
    interface IEnumerable
    interface ICloneable
    interface ICollection
type SettingsPropertyCollection = class
    interface ICloneable
    interface ICollection
    interface IEnumerable
Public Class SettingsPropertyCollection
Implements ICloneable, ICollection
Inheritance
SettingsPropertyCollection
Implements

Remarks

The SettingsPropertyCollection collection contains a collection of SettingsProperty objects. A SettingsProperty object is used internally as the class that represents metadata about an individual configuration property.

Constructors

SettingsPropertyCollection()

Initializes a new instance of the SettingsPropertyCollection class.

Properties

Count

Gets a value that specifies the number of SettingsProperty objects in the collection.

IsSynchronized

Gets a value that indicates whether access to the collection is synchronized (thread safe).

Item[String]

Gets the collection item with the specified name.

SyncRoot

Gets the object to synchronize access to the collection.

Methods

Add(SettingsProperty)

Adds a SettingsProperty object to the collection.

Clear()

Removes all SettingsProperty objects from the collection.

Clone()

Creates a copy of the existing collection.

CopyTo(Array, Int32)

Copies this SettingsPropertyCollection object to an array.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator()

Gets the IEnumerator object as it applies to the collection.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnAdd(SettingsProperty)

Performs additional, custom processing when adding to the contents of the SettingsPropertyCollection instance.

OnAddComplete(SettingsProperty)

Performs additional, custom processing after adding to the contents of the SettingsPropertyCollection instance.

OnClear()

Performs additional, custom processing when clearing the contents of the SettingsPropertyCollection instance.

OnClearComplete()

Performs additional, custom processing after clearing the contents of the SettingsPropertyCollection instance.

OnRemove(SettingsProperty)

Performs additional, custom processing when removing the contents of the SettingsPropertyCollection instance.

OnRemoveComplete(SettingsProperty)

Performs additional, custom processing after removing the contents of the SettingsPropertyCollection instance.

Remove(String)

Removes a SettingsProperty object from the collection.

SetReadOnly()

Sets the collection to be read-only.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See also