共用方式為


GenericEventArgs.ElementId Property

Gets the ID of the element to which this notification pertains when overridden in a derived class.

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

Syntax

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

Property Value

Type: System.Guid
The ID of the element.

.NET Framework Security

See Also

Reference

GenericEventArgs Class

Microsoft.VisualStudio.Modeling Namespace