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