SettingsPropertyCollection SettingsPropertyCollection SettingsPropertyCollection 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 ICloneable
    interface ICollection
    interface IEnumerable
Public Class SettingsPropertyCollection
Implements ICloneable, ICollection
Inheritance
SettingsPropertyCollectionSettingsPropertyCollectionSettingsPropertyCollectionSettingsPropertyCollection
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() SettingsPropertyCollection() SettingsPropertyCollection() SettingsPropertyCollection()

Initializes a new instance of the SettingsPropertyCollection class.

Properties

Count Count Count Count

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

IsSynchronized IsSynchronized IsSynchronized IsSynchronized

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

Item[String] Item[String] Item[String] Item[String]

Gets the collection item with the specified name.

SyncRoot SyncRoot SyncRoot SyncRoot

Gets the object to synchronize access to the collection.

Methods

Add(SettingsProperty) Add(SettingsProperty) Add(SettingsProperty) Add(SettingsProperty)

Adds a SettingsProperty object to the collection.

Clear() Clear() Clear() Clear()

Removes all SettingsProperty objects from the collection.

Clone() Clone() Clone() Clone()

Creates a copy of the existing collection.

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies this SettingsPropertyCollection object to an array.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Gets the IEnumerator object as it applies to the collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnAdd(SettingsProperty) OnAdd(SettingsProperty) OnAdd(SettingsProperty) OnAdd(SettingsProperty)

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

OnAddComplete(SettingsProperty) OnAddComplete(SettingsProperty) OnAddComplete(SettingsProperty) OnAddComplete(SettingsProperty)

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

OnClear() OnClear() OnClear() OnClear()

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

OnClearComplete() OnClearComplete() OnClearComplete() OnClearComplete()

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

OnRemove(SettingsProperty) OnRemove(SettingsProperty) OnRemove(SettingsProperty) OnRemove(SettingsProperty)

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

OnRemoveComplete(SettingsProperty) OnRemoveComplete(SettingsProperty) OnRemoveComplete(SettingsProperty) OnRemoveComplete(SettingsProperty)

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

Remove(String) Remove(String) Remove(String) Remove(String)

Removes a SettingsProperty object from the collection.

SetReadOnly() SetReadOnly() SetReadOnly() SetReadOnly()

Sets the collection to be read-only.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See Also