ResourceID 属性返回该构造函数设置的资源 ID 的值。
命名空间: Microsoft.VisualStudio.Shell
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
语法
声明
Public ReadOnly Property ResourceID As String
public string ResourceID { get; }
属性值
类型:System.String
菜单资源的 ID。
备注
资源 ID 必须与附属资源 () DLL 和 Command Table Configuration (.ctc) File的 ID。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
ProvideMenuResourceAttribute 类
Microsoft.VisualStudio.Shell 命名空间