編輯

共用方式為


DrawingAttributes.GetPropertyDataIds Method

Definition

Returns the GUIDs of any custom properties associated with the StrokeCollection.

public:
 cli::array <Guid> ^ GetPropertyDataIds();
public Guid[] GetPropertyDataIds ();
member this.GetPropertyDataIds : unit -> Guid[]
Public Function GetPropertyDataIds () As Guid()

Returns

Guid[]

An array of type Guid that represents the property data identifiers.

Examples

The following example demonstrates how to get the property data identifiers from the DrawingAttributes object. This example assumes that a DrawingAttributes called inkDA has been declared.

Guid[] propertyIDs = inkDA.GetPropertyDataIds();
Dim propertyIds() As Guid
propertyIds = inkDA.GetPropertyDataIds()

Remarks

The GUIDs for the built-in properties of the DrawingAttributes class are in the DrawingAttributeIds class.

Applies to

See also