DbParameterCollection::Item Property (String^)

 

Gets and sets the DbParameter with the specified name.

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

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

Parameters

parameterName
Type: System::String^

The name of the parameter.

Property Value

Type: System.Data.Common::DbParameter^

The DbParameter with the specified name.

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: