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.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Declaration
Public ReadOnly Property ResourceID As Short
'Usage
Dim instance As ProvideMenuResourceAttribute
Dim value As Short
value = instance.ResourceID
public short ResourceID { get; }
public:
property short ResourceID {
short get ();
}
public function get ResourceID () : short
Property Value
Type: System.Int16
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) Files.
.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
ProvideMenuResourceAttribute Members
Microsoft.VisualStudio.Shell Namespace