Dela via


HostEventAttribute.DispId Property (2007 System)

Gets the dispatch ID of the COM event for which the event marked with this HostEventAttribute is a proxy.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)

Syntax

'Declaration
Public ReadOnly Property DispId As Integer
'Usage
Dim instance As HostEventAttribute 
Dim value As Integer 

value = instance.DispId
public int DispId { get; }
public:
property int DispId {
    int get ();
}
public function get DispId () : int

Property Value

Type: System.Int32
The dispatch ID of the COM event for which the event marked with this HostEventAttribute is a proxy.

Remarks

For COM events only.

See Also

Reference

HostEventAttribute Class

HostEventAttribute Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace