DbParameterCollection.IDataParameterCollection.Item[String] 属性

定义

获取或设置指定索引处的参数。Gets or sets the parameter at the specified index.

property System::Object ^ System::Data::IDataParameterCollection::Item[System::String ^] { System::Object ^ get(System::String ^ parameterName); void set(System::String ^ parameterName, System::Object ^ value); };
object System.Data.IDataParameterCollection.Item[string parameterName] { get; set; }
member this.System.Data.IDataParameterCollection.Item(string) : obj with get, set
 Property Item(parameterName As String) As Object Implements IDataParameterCollection.Item

参数

parameterName
String

要检索的参数的名称。The name of the parameter to retrieve.

属性值

Object

指定的索引中的一个 ObjectAn Object at the specified index.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DbParameterCollection 实例被强制转换为 IDataParameterCollection 接口时使用。It can be used only when the DbParameterCollection instance is cast to an IDataParameterCollection interface.

有关详细信息,请参阅 Item[]For more information, see Item[].

适用于