SharePointCommandAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.