Partager via


SharePointCommandAttribute Constructor (String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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: System.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