ProvideMenuResourceAttribute Constructor (String, Int32)
Initializes a new instance of ProvideMenuResourceAttribute with the specified resource ID and version.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
resourceID As String, _
version As Integer _
)
public ProvideMenuResourceAttribute(
string resourceID,
int version
)
public:
ProvideMenuResourceAttribute(
String^ resourceID,
int version
)
new :
resourceID:string *
version:int -> ProvideMenuResourceAttribute
public function ProvideMenuResourceAttribute(
resourceID : String,
version : int
)
Parameters
resourceID
Type: StringThe resource ID.
version
Type: Int32The version.
.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