Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IDataParameterCollection.Item Property

DbParameterCollection::IDataParameterCollection::Item Property

Gets or sets the parameter at the specified index.

Namespace:  System.Data.Common
Assembly:  System.Data (in System.Data.dll)

virtual property Object^ Item[String^ parameterName] {
	Object^ get (String^ parameterName) sealed = IDataParameterCollection::Item::get;
	void set (String^ parameterName, Object^ value) sealed = IDataParameterCollection::Item::set;


Type: System::String

The name of the parameter to retrieve.

Property Value

Type: System::Object
An Object at the specified index.



This member is an explicit interface member implementation. It can be used only when the DbParameterCollection instance is cast to an IDataParameterCollection interface.

For more information, see Item.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
© 2015 Microsoft