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)

private abstract Item : 
        parameterName:string -> Object with get, set
private override Item : 
        parameterName:string -> Object with get, 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