Share via


ExtendedProperty.Id Property

ExtendedProperty.Id Property

Gets the identifier of the ExtendedProperty object.

Definition

Visual Basic .NET Public ReadOnly Property Id As Guid
C# public Guid Id { get; }
Managed C++ public: __property Guid* get_Id();

Property Value

System.Guid. The identifier of the ExtendedProperty object.

This property is read-only. This property has no default value.

Remarks

Note: An ExtendedProperty object's identifier is constant over time, meaning that it never changes.

Examples

[C#]

This C# example returns the identifier of the first extended property on a Stroke object, theStroke.

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

[VB.NET]

This Microsoft® Visual Basic® .NET example returns the identifier of the first extended property on a Stroke object, theStroke.

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

See Also