ProvideMenuResourceAttribute.ResourceID Property
The ResourceID property returns the value of the resource ID set in the constructor.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public ReadOnly Property ResourceID As String
public string ResourceID { get; }
public:
property String^ ResourceID {
String^ get ();
}
member ResourceID : string with get
function get ResourceID () : String
Property Value
Type: String
The resource ID of the menu resource.
Remarks
The resource ID must match the ID used in both the satellite (resource-only) DLL and the Command Table Configuration (.ctc) File.
.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.
See Also
Reference
ProvideMenuResourceAttribute Class
Microsoft.VisualStudio.Shell Namespace