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 (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣言
Public ReadOnly Property ResourceID As Short
'使用
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.

Permissions

See Also

Concepts

Localized Resources in MFC Applications: Satellite DLLs

Reference

ProvideMenuResourceAttribute Class

ProvideMenuResourceAttribute Members

Microsoft.VisualStudio.Shell Namespace