ServerExplorerCommandHandler.CreateCommand Method (Int32, CommandID, array<Object[])
Creates a command for schema and data compare.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Protected Overrides Function CreateCommand ( _
itemId As Integer, _
commandId As CommandID, _
parameters As Object() _
) As MenuCommand
'Usage
Dim itemId As Integer
Dim commandId As CommandID
Dim parameters As Object()
Dim returnValue As MenuCommand
returnValue = Me.CreateCommand(itemId, _
commandId, parameters)
protected override MenuCommand CreateCommand(
int itemId,
CommandID commandId,
Object[] parameters
)
protected:
virtual MenuCommand^ CreateCommand(
int itemId,
CommandID^ commandId,
array<Object^>^ parameters
) override
protected override function CreateCommand(
itemId : int,
commandId : CommandID,
parameters : Object[]
) : MenuCommand
abstract CreateCommand :
itemId:int *
commandId:CommandID *
parameters:Object[] -> MenuCommand
override CreateCommand :
itemId:int *
commandId:CommandID *
parameters:Object[] -> MenuCommand
Parameters
- itemId
Type: System.Int32
The server explorer item ID
- commandId
Type: System.ComponentModel.Design.CommandID
The command ID object
- parameters
Type: array<System.Object[]
An array of parameters
Return Value
Type: System.ComponentModel.Design.MenuCommand
Returns a command object, or null if the command ID is not supported.
.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
ServerExplorerCommandHandler Class
ServerExplorerCommandHandler Members
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace