共用方式為


Context.Id Property

Gets or sets the ID of this context.

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

Syntax

'宣告
Public Property Id As Guid
    Get
    Set
public Guid Id { get; set; }
public:
property Guid Id {
    Guid get ();
    void set (Guid value);
}
member Id : Guid with get, set
function get Id () : Guid
function set Id (value : Guid)

Property Value

Type: System.Guid
A unique identifier for the context.

.NET Framework Security

See Also

Reference

Context Class

Microsoft.VisualStudio.Modeling Namespace