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® Visual Basic® .NET 範例會傳回 Stroke 物件 (theStroke) 上第一個擴充屬性的識別項。
Dim thePropertyID As Guid = theStroke.ExtendedProperties(0).Id
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求。
版本資訊
.NET Framework
支援版本:3.0