SharePointCommandAttribute Constructors

Definition

Overloads

SharePointCommandAttribute()

Initializes a new instance of the SharePointCommandAttribute class.

SharePointCommandAttribute(String)

Initializes a new instance of the SharePointCommandAttribute class with the specified command ID.

SharePointCommandAttribute()

Initializes a new instance of the SharePointCommandAttribute class.

public:
 SharePointCommandAttribute();
public SharePointCommandAttribute ();
Public Sub New ()

Applies to

SharePointCommandAttribute(String)

Initializes a new instance of the SharePointCommandAttribute class with the specified command ID.

public:
 SharePointCommandAttribute(System::String ^ commandId);
public SharePointCommandAttribute (string commandId);
new Microsoft.VisualStudio.SharePoint.Commands.SharePointCommandAttribute : string -> Microsoft.VisualStudio.SharePoint.Commands.SharePointCommandAttribute
Public Sub New (commandId As String)

Parameters

commandId
String

The ID for the SharePoint command. The ID should be unique; it is recommended that you use the name of the method preceded by the method's namespace.

Applies to