共用方式為


SqlServerExplorerCommandHandler.CreateSelectionCommand 方法 (CommandID, array<Object )

這個類別和它的成員會保留給內部使用,其目的不是要供您的程式碼使用。

命名空間:  Microsoft.VisualStudio.Data.Schema.Package.Sql.Internal
組件:  Microsoft.VisualStudio.Data.Schema.Package.Sql (在 Microsoft.VisualStudio.Data.Schema.Package.Sql.dll 中)

語法

'宣告
Protected Overrides Function CreateSelectionCommand ( _
    commandId As CommandID, _
    parameters As Object() _
) As MenuCommand
protected override MenuCommand CreateSelectionCommand(
    CommandID commandId,
    Object[] parameters
)
protected:
virtual MenuCommand^ CreateSelectionCommand(
    CommandID^ commandId, 
    array<Object^>^ parameters
) override
abstract CreateSelectionCommand : 
        commandId:CommandID * 
        parameters:Object[] -> MenuCommand 
override CreateSelectionCommand : 
        commandId:CommandID * 
        parameters:Object[] -> MenuCommand 
protected override function CreateSelectionCommand(
    commandId : CommandID, 
    parameters : Object[]
) : MenuCommand

參數

傳回值

型別:System.ComponentModel.Design.MenuCommand
新的命令物件,如果未處理則為 null。

.NET Framework 安全性

請參閱

參考

SqlServerExplorerCommandHandler 類別

CreateSelectionCommand 多載

Microsoft.VisualStudio.Data.Schema.Package.Sql.Internal 命名空間