Compartilhar via


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: String

    The resource ID.

  • version
    Type: Int32

    The version.

.NET Framework Security

See Also

Reference

ProvideMenuResourceAttribute Class

ProvideMenuResourceAttribute Overload

Microsoft.VisualStudio.Shell Namespace