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
Get
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.