Share via


SharePointCommandAttribute Constructor (String)

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

Namespace:  Microsoft.VisualStudio.SharePoint.Commands
Assembly:  Microsoft.VisualStudio.SharePoint.Commands (in Microsoft.VisualStudio.SharePoint.Commands.dll)

Syntax

'Declaration
Public Sub New ( _
    commandId As String _
)
public SharePointCommandAttribute(
    string commandId
)

Parameters

  • commandId
    Type: 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.

.NET Framework Security

See Also

Reference

SharePointCommandAttribute Class

SharePointCommandAttribute Overload

Microsoft.VisualStudio.SharePoint.Commands Namespace