DrawingAttributes.GetPropertyDataIds Metod

Definition

Returnerar GUID:erna för alla anpassade egenskaper som är associerade med StrokeCollection.

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

Returer

Guid[]

En matris av typen Guid som representerar egenskapsdataidentifierarna.

Exempel

I följande exempel visas hur du hämtar egenskapsdataidentifierarna från DrawingAttributes objektet. Det här exemplet förutsätter att en DrawingAttributes anropad inkDA har deklarerats.

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

Kommentarer

GUID:erna för de inbyggda egenskaperna DrawingAttributes för klassen finns i DrawingAttributeIds klassen.

Gäller för

Se även