DataViewCommandHandler.ExecuteCommand メソッド (array<Int32 , OleCommand, OleCommandExecutionOption, Object)

複数の項目で実行するコマンドを指定します。

名前空間:  Microsoft.VisualStudio.Data
アセンブリ:  Microsoft.VisualStudio.Data (Microsoft.VisualStudio.Data.dll 内)

構文

'宣言
Public Overridable Function ExecuteCommand ( _
    itemIds As Integer(), _
    command As OleCommand, _
    executionOption As OleCommandExecutionOption, _
    arguments As Object _
) As Object()
public virtual Object[] ExecuteCommand(
    int[] itemIds,
    OleCommand command,
    OleCommandExecutionOption executionOption,
    Object arguments
)
public:
virtual array<Object^>^ ExecuteCommand(
    array<int>^ itemIds, 
    OleCommand^ command, 
    OleCommandExecutionOption executionOption, 
    Object^ arguments
)
abstract ExecuteCommand : 
        itemIds:int[] * 
        command:OleCommand * 
        executionOption:OleCommandExecutionOption * 
        arguments:Object -> Object[] 
override ExecuteCommand : 
        itemIds:int[] * 
        command:OleCommand * 
        executionOption:OleCommandExecutionOption * 
        arguments:Object -> Object[] 
public function ExecuteCommand(
    itemIds : int[], 
    command : OleCommand, 
    executionOption : OleCommandExecutionOption, 
    arguments : Object
) : Object[]

パラメーター

  • itemIds
    型 : array<System.Int32[]
    データ項目の識別子の配列はこのコマンドの呼び出しが必要である階層を表示します。
  • arguments
    型 : System.Object
    コマンド引数を表すオブジェクト。

戻り値

型 : array<System.Object[]
指定されたコマンドから返される値を表すオブジェクトの配列を返します。

例外

例外 条件
ArgumentNullException

itemId や command のパラメーターが null です。

ArgumentException

itemId パラメーターが無効です。

NotImplementedException

このコマンド ハンドラーは、指定されたコマンドを実行しません。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

DataViewCommandHandler クラス

ExecuteCommand オーバーロード

Microsoft.VisualStudio.Data 名前空間