DbParameterCollection::IDataParameterCollection::Item Property (String^)


Gets or sets the parameter at the specified index.

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

property Object^ default[
	String^ parameterName
] {
	virtual Object^ get(String^ parameterName) sealed = IDataParameterCollection::default::get;
	virtual void set(String^ parameterName, Object^ value) sealed = IDataParameterCollection::default::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
Available since 2.0
Return to top