共用方式為


Parameters.Item[] Property

Definition

Returns a parameter object in the parameters collection.

Overloads

Item[Int32]

Returns a parameter object in the parameters collection with the specified index.

Item[String]

Returns a parameter object in the parameters collection with the specified name.

Item[Int32]

Returns a parameter object in the parameters collection with the specified index.

public:
 abstract property Microsoft::SqlServer::Dts::Runtime::Parameter ^ default[int] { Microsoft::SqlServer::Dts::Runtime::Parameter ^ get(int index); };
public abstract Microsoft.SqlServer.Dts.Runtime.Parameter this[int index] { get; }
member this.Item(int) : Microsoft.SqlServer.Dts.Runtime.Parameter
Default Public MustOverride ReadOnly Property Item(index As Integer) As Parameter

Parameters

index
Int32

The location of the parameter object within the parameters collection.

Property Value

A parameter object with the specified index.

Applies to

Item[String]

Returns a parameter object in the parameters collection with the specified name.

public:
 abstract property Microsoft::SqlServer::Dts::Runtime::Parameter ^ default[System::String ^] { Microsoft::SqlServer::Dts::Runtime::Parameter ^ get(System::String ^ parameterName); };
public abstract Microsoft.SqlServer.Dts.Runtime.Parameter this[string parameterName] { get; }
member this.Item(string) : Microsoft.SqlServer.Dts.Runtime.Parameter
Default Public MustOverride ReadOnly Property Item(parameterName As String) As Parameter

Parameters

parameterName
String

The name of the parameter.

Property Value

A parameter object with the specified name.

Applies to