语言

DrawingAttributes.GetPropertyDataIds 方法

定义

返回与 .. 关联的任何自定义属性的 StrokeCollectionGUID。

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 。

适用于

另请参阅