다음을 통해 공유


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 restricted in the Interface Definition Language (IDL) definition for the collection interfaces. It is not shown in the Microsoft® Visual Basic® 6.0 object browser. It is automatically used internally when you use the For Each In construct in Visual Basic 6.0.

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.