DrawingAttributes.GetPropertyDataIds 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳與 . 相關聯 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 中。