This documentation is archived and is not being maintained.

PropertyDataCollection Members

PropertyDataCollection overview

Public Properties

public propertyCount Gets or sets the number of objects in the PropertyDataCollection.
public propertyIsSynchronized Gets or sets a value indicating whether the object is synchronized.
public propertyItem Returns the specified property from the PropertyDataCollection, using [] syntax.

In C#, this property is the indexer for the PropertyDataCollection class.

public propertySyncRoot Gets or sets the object to be used for synchronization.

Public Methods

public methodAdd Overloaded. Adds a new PropertyData with the specified value.
public methodCopyTo Overloaded. Copies the PropertyDataCollection into an array.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator Returns the enumerator for this PropertyDataCollection.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodRemove Removes a PropertyData from the PropertyDataCollection.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PropertyDataCollection Class | System.Management Namespace