ExtendedProperty.Id 属性

获取 ExtendedProperty 对象的标识符。

命名空间:  Microsoft.Ink
程序集:  Microsoft.Ink(在 Microsoft.Ink.dll 中)

语法

声明
Public ReadOnly Property Id As Guid
用法
Dim instance As ExtendedProperty
Dim value As Guid

value = instance.Id
public Guid Id { get; }
public:
property Guid Id {
    Guid get ();
}
/** @property */
public Guid get_Id()
public function get Id () : Guid

属性值

类型:System.Guid
ExtendedProperty 对象的标识符。

备注

备注

ExtendedProperty 对象的标识符不随时间而改变,这意味着它永远不会更改。

示例

此 C# 示例返回 Stroke 对象 theStroke 上的第一个扩展属性的标识符。

Guid thePropertyID = theStroke.ExtendedProperties[0].Id;

此 Microsoft(R) Visual Basic(R) .NET 示例返回 Stroke 对象 theStroke 上的第一个扩展属性的标识符。

Dim thePropertyID As Guid = theStroke.ExtendedProperties(0).Id

平台

Windows Vista

.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

ExtendedProperty 类

ExtendedProperty 成员

Microsoft.Ink 命名空间

DrawingAttributes.ExtendedProperties

ExtendedProperties

Stroke.ExtendedProperties