PropertyCollection Class
Represents a collection of properties that can be added to DataColumn, DataSet, or DataTable.
Assembly: System.Data (in System.Data.dll)
| Name | Description | |
|---|---|---|
![]() | PropertyCollection() | Initializes a new instance of the PropertyCollection class. |
![]() | PropertyCollection(SerializationInfo^, StreamingContext) | Initializes a new instance of the PropertyCollection class. |
| Name | Description | |
|---|---|---|
![]() | comparer | |
![]() | Count | |
![]() | EqualityComparer | Gets the IEqualityComparer to use for the Hashtable.(Inherited from Hashtable.) |
![]() | hcp | Obsolete. Gets or sets the object that can dispense hash codes.(Inherited from Hashtable.) |
![]() | IsFixedSize | |
![]() | IsReadOnly | |
![]() | IsSynchronized | |
![]() | Item[Object^] | Gets or sets the value associated with the specified key.(Inherited from Hashtable.) |
![]() | Keys | Gets an ICollection containing the keys in the Hashtable.(Inherited from Hashtable.) |
![]() | SyncRoot | |
![]() | Values | Gets an ICollection containing the values in the Hashtable.(Inherited from Hashtable.) |
| Name | Description | |
|---|---|---|
![]() | Add(Object^, Object^) | |
![]() | Clear() | |
![]() | Clone() | Creates a shallow copy of the PropertyCollection object.(Overrides Hashtable::Clone().) |
![]() | Contains(Object^) | |
![]() | ContainsKey(Object^) | |
![]() | ContainsValue(Object^) | |
![]() | CopyTo(Array^, Int32) | |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetEnumerator() | Returns an IDictionaryEnumerator that iterates through the Hashtable.(Inherited from Hashtable.) |
![]() | GetHash(Object^) | Returns the hash code for the specified key.(Inherited from Hashtable.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | Implements the ISerializable interface and returns the data needed to serialize the Hashtable.(Inherited from Hashtable.) |
![]() | GetType() | |
![]() | KeyEquals(Object^, Object^) | |
![]() | MemberwiseClone() | |
![]() | OnDeserialization(Object^) | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.(Inherited from Hashtable.) |
![]() | Remove(Object^) | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable::GetEnumerator() | Returns an enumerator that iterates through a collection.(Inherited from Hashtable.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
The PropertyCollection can be accessed through the ExtendedProperties property of the DataColumn, DataSet, or DataTable class.
Add custom properties to the DataColumn, DataSet, or DataTable objects through the PropertyCollection. For example, you may want to store the time of the object's creation for later comparison to another object.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





