ExtendedProperties Class
ExtendedProperties Class |
Represents a collection of ExtendedProperty objects that contain application-defined data.
Definition
Visual Basic .NET Public Class ExtendedProperties
Inherits Object
Implements ICollection, IEnumerableC# public class ExtendedProperties : Object,
ICollection, IEnumerableManaged C++ public __gc class ExtendedProperties : public Object,
ICollection, IEnumerable
Members Table
The following table lists the members exposed by the object.
Methods
Method Description Add Creates an ExtendedProperty object and adds it to the ExtendedProperties collection. Clear Clears all the ExtendedProperty objects from the ExtendedProperties collection. Contains Indicates whether the ExtendedProperties collection contains a specific ExtendedProperty object. CopyTo Copies all of the elements of the current ExtendedProperties collection to the specified one-dimensional array, starting at the specified destination array index. DoesPropertyExist Indicates whether a specified ExtendedProperty object exists in the ExtendedProperties collection. Equals Determines whether two Object instances are equal. Inherited from Object . Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. Inherited from Object . get_Item Returns the ExtendedProperty object at the known index in a ExtendedProperties collection. GetEnumerator Returns an object that implements the System.Collections.IEnumerator interface that can iterate through the ExtendedProperty objects within the ExtendedProperties collection. GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. Inherited from Object . GetType Gets the Type of the current instance. Inherited from Object . IEnumerable.GetEnumerator IndexOf Returns the index of a specific ExtendedProperty object within an ExtendedProperties collection. MemberwiseClone Creates a shallow copy of the current Object . Inherited from Object . ReferenceEquals Determines whether the specified Object instances are the same instance. Inherited from Object . Remove Removes an ExtendedProperty object from the ExtendedProperties collection. RemoveAt Removes an ExtendedProperty object at the specified index of the ExtendedProperties collection. ToString Returns a String that represents the current Object . Inherited from Object . Properties
Property Description Count Gets the number of ExtendedProperty objects contained in the ExtendedProperties collection. IsFixedSize Gets a value indicating whether the ExtendedProperties collection has a fixed size. IsReadOnly Gets a value indicating whether the ExtendedProperties collection is read-only. IsSynchronized Gets a value that indicates whether or not access to the ExtendedProperties collection is synchronized (thread safe). Item Gets the ExtendedProperty object at the specified index within the ExtendedProperties collection. SyncRoot Returns an object that can be used to synchronize access to the ExtendedProperties collection.
Inheritance Hierarchy
ExtendedProperties
Remarks
The extended property data is indexed by an application-specific globally unique identifier (GUID).
You cannot store an empty ExtendedProperties object. The object must contain data before it can be stored. For example, if you try to add extended properties to a Stroke object for later use, an exception is thrown if the ExtendedProperties collection contains no data.
ExtendedProperties collections may be added to the Stroke, the DrawingAttributes, and the Ink objects.
Class Information
Namespace Microsoft.Ink Assembly Microsoft.Ink (microsoft.ink.dll) Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8
See Also