语言

StrokeCollection.GetPropertyDataIds 方法

定义

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

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

返回

Guid[]

表示自定义属性标识符的类型 Guid 数组。

示例

下面的示例演示如何从 . StrokeCollection. 中获取自定义属性标识符。

private void GetPropertyIds(StrokeCollection strokes)
{
    Guid[] propertyIds = strokes.GetPropertyDataIds();
}
Private Sub GetPropertyIds(ByVal strokes As StrokeCollection)

    Dim propertyIds As Guid() = strokes.GetPropertyDataIds()

End Sub

适用于