共用方式為


TransactionEventArgs.ElementId Property

Get the Id of the element to which this notification pertains

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

Syntax

'宣告
Public Overrides ReadOnly Property ElementId As Guid
    Get
public override Guid ElementId { get; }
public:
virtual property Guid ElementId {
    Guid get () override;
}
abstract ElementId : Guid
override ElementId : Guid
override function get ElementId () : Guid

Property Value

Type: System.Guid

.NET Framework Security

See Also

Reference

TransactionEventArgs Class

Microsoft.VisualStudio.Modeling Namespace