Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbParameterCollection::Item Property (Int32)

 

Gets and sets the DbParameter at the specified index.

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

public:
property DbParameter^ default[
	int index
] {
	DbParameter^ get(int index);
	void set(int index, DbParameter^ value);
}

Parameters

index
Type: System::Int32

The zero-based index of the parameter.

Property Value

Type: System.Data.Common::DbParameter^

The DbParameter at the specified index.

Exception Condition
IndexOutOfRangeException

The specified index does not exist.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft