Share via


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

See Also

Reference

ProvideMenuResourceAttribute Class

ProvideMenuResourceAttribute Members

Microsoft.VisualStudio.Shell Namespace

Other Resources

Localized Resources in MFC Applications: Satellite DLLs