HostEventAttribute.DispId 屬性
取得 COM 事件的分派識別碼,其中標記此 HostEventAttribute 的事件為 Proxy。
命名空間: Microsoft.VisualStudio.Tools.Applications.Runtime
組件: Microsoft.VisualStudio.Tools.Applications.Runtime (在 Microsoft.VisualStudio.Tools.Applications.Runtime.dll 中)
語法
'宣告
Public ReadOnly Property DispId As Integer
public int DispId { get; }
屬性值
型別:System.Int32
COM 事件的分派識別碼,其中標記此 HostEventAttribute 的事件為 Proxy。
備註
僅適用於 COM 事件。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。