IVsDataCommand.DeriveParameters Method (String, DataCommandType)
When implemented by a class, derives the parameters that can be specified for a given command.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
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[]
Parameters
- command
Type: System.String
A command from which to derive parameters that are specific to a data source.
- commandType
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType
A value from the DataCommandType enumeration representing the command type for the indicated command, specifying how to interpret the contents of the command parameter.
Return Value
Type: array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
An array of IVsDataParameter objects. Each object represents a parameter that is derived from the command.
.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
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace