ProvideMenuResourceAttribute.ResourceID Property
The ResourceID property returns the value of the resource ID set in the constructor.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
‘선언
Public ReadOnly Property ResourceID As String
Get
‘사용 방법
Dim instance As ProvideMenuResourceAttribute
Dim value As String
value = instance.ResourceID
public string ResourceID { get; }
public:
property String^ ResourceID {
String^ get ();
}
member ResourceID : string
function get ResourceID () : String
Property Value
Type: System.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) 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