共用方式為


ModelElement.Id Property

Gets the ID of the element.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public ReadOnly Property Id As Guid
    Get
public Guid Id { get; }
public:
property Guid Id {
    Guid get ();
}
member Id : Guid
function get Id () : Guid

Property Value

Type: System.Guid
The ID of the element.

.NET Framework Security

See Also

Reference

ModelElement Class

Microsoft.VisualStudio.Modeling Namespace