Share via


EntityParameterCollection.Item[] Property

Definition

Overloads

Item[Int32]

Gets the EntityParameter at the specified index.

Item[String]

Gets the EntityParameter with the specified name.

Item[Int32]

Gets the EntityParameter at the specified index.

public System.Data.Entity.Core.EntityClient.EntityParameter this[int index] { get; set; }
member this.Item(int) : System.Data.Entity.Core.EntityClient.EntityParameter with get, set
Default Public Property Item(index As Integer) As EntityParameter

Parameters

index
Int32

The zero-based index of the parameter to retrieve.

Property Value

The EntityParameter at the specified index.

Exceptions

The specified index does not exist.

Applies to

Item[String]

Gets the EntityParameter with the specified name.

public System.Data.Entity.Core.EntityClient.EntityParameter this[string parameterName] { get; set; }
member this.Item(string) : System.Data.Entity.Core.EntityClient.EntityParameter with get, set
Default Public Property Item(parameterName As String) As EntityParameter

Parameters

parameterName
String

The name of the parameter to retrieve.

Property Value

The EntityParameter with the specified name.

Exceptions

The specified name does not exist.

Applies to