語言

DrawingAttributes.GetPropertyDataIds 方法

定義

回傳與 . 相關聯 StrokeCollection的任何自訂屬性的 GUID。

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

傳回

Guid[]

一個代表屬性資料識別碼的陣 Guid 列。

範例

以下範例示範如何從 DrawingAttributes 物件取得屬性資料識別碼。 此範例假設已宣告呼叫DrawingAttributesinkDA。

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

備註

類別內建屬性 DrawingAttributes 的 GUID 都包含在類別 DrawingAttributeIds 中。

適用於

另請參閱