Edit

Share via


SettingsPropertyValueCollection Class

Definition

Contains a collection of settings property values that map SettingsProperty objects to SettingsPropertyValue objects.

C#
public class SettingsPropertyValueCollection : ICloneable, System.Collections.ICollection
Inheritance
SettingsPropertyValueCollection
Implements

Constructors

SettingsPropertyValueCollection()

Initializes a new instance of the SettingsPropertyValueCollection class.

Properties

Count

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

IsSynchronized

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

Item[String]

Gets an item from the collection.

SyncRoot

Gets the object to synchronize access to the collection.

Methods

Add(SettingsPropertyValue)

Adds a SettingsPropertyValue object to the collection.

Clear()

Removes all SettingsPropertyValue objects from the collection.

Clone()

Creates a copy of the existing collection.

CopyTo(Array, Int32)

Copies this SettingsPropertyValueCollection collection 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)
Remove(String)

Removes a SettingsPropertyValue 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

Product Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9