ProvideMenuResourceAttribute.ResourceID 属性

定义

ResourceID 属性返回在构造函数中设置的资源 ID 的值。

public:
 property System::String ^ ResourceID { System::String ^ get(); };
public:
 property Platform::String ^ ResourceID { Platform::String ^ get(); };
public string ResourceID { get; }
member this.ResourceID : string
Public ReadOnly Property ResourceID As String

属性值

String

菜单资源的资源 ID。

注解

资源 ID 必须与附属 (仅限资源的) DLL 和 命令表配置 ( .ctc) 文件中使用的 id 匹配。

适用于