共用方式為


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 物件的識別項。

備註

ms582123.alert_note(zh-tw,VS.90).gif注意事項:

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

請參閱

參考

ExtendedProperty 類別

ExtendedProperty 成員

Microsoft.Ink 命名空間

DrawingAttributes.ExtendedProperties

ExtendedProperties

Stroke.ExtendedProperties