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.StringThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SharePointCommandAttribute Class