HostEventAttribute.DispId Property

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 (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)

Syntax

'Declaration
Public ReadOnly Property DispId As Integer
public int DispId { get; }

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.

.NET Framework Security

See Also

Reference

HostEventAttribute Class

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace