クラスで実装すると、特定のコマンドに指定できるパラメーターを取得します。
名前空間: Microsoft.VisualStudio.Data.Services.SupportEntities
アセンブリ: Microsoft.VisualStudio.Data.Services (Microsoft.VisualStudio.Data.Services.dll 内)
構文
'宣言
Function DeriveParameters ( _
command As String, _
commandType As DataCommandType _
) As IVsDataParameter()
IVsDataParameter[] DeriveParameters(
string command,
DataCommandType commandType
)
array<IVsDataParameter^>^ DeriveParameters(
String^ command,
DataCommandType commandType
)
abstract DeriveParameters :
command:string *
commandType:DataCommandType -> IVsDataParameter[]
function DeriveParameters(
command : String,
commandType : DataCommandType
) : IVsDataParameter[]
パラメーター
- command
型 : System.String
データ ソースに固有パラメーターを取得するコマンド。
- commandType
型 : Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType
指定する名前付きコマンドのコマンドの型を表す DataCommandType の列挙体からの値 command のパラメーターの内容を解釈する方法を示します。
戻り値
型 : array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
IVsDataParameter オブジェクトの配列。 パラメーターが です。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。