IInkExtendedProperties Interface
IInkExtendedProperties Interface |
Represents a collection of IInkExtendedProperty objects that contain application-defined data.
Members
The following tables list the members exposed by the object.
Methods
Method | Description |
---|---|
Add | Specifies the extended property to add to the collection. |
Clear | Clears all of the extended properties from the collection. |
DoesPropertyExist | Specifies whether an extended property exists within a collection of extended properties. |
Item | Specifies the extended property to return at the known index in the collection. |
Remove | Specifies the extended property to remove from the collection. |
Properties
Property | Description |
---|---|
_NewEnum | Gets either the IEnumVARIANT or IEnumUnknown enumerator interface for the collection. Use this property to retrieve each object in the collection.
The _NewEnum property is marked |
Count | Returns the number of IInkExtendedProperty objects in the collection. |
Remarks
The extended property data is indexed by an application-specific globally unique identifier (GUID).
Note: 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 for later use, an exception is thrown if the extended property contains no data.
IInkExtendedProperties collections may be added to the IInkStrokeDisp, the InkDrawingAttributes, and the InkDisp objects.
For more information about collections in Automation, see Working with Collections.
COM Implementation
This collection implements the IInkExtendedProperties COM interface.