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 物件取得屬性資料識別碼。 這個範例假設 DrawingAttributes 已宣告呼叫 inkDA 的 。

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

備註

類別內建屬性的 DrawingAttributes GUID 位於 類別中 DrawingAttributeIds

適用於

另請參閱