Επεξεργασία

Κοινή χρήση μέσω


EntityParameterCollection.Item[] Property

Definition

Gets the EntityParameter with a specified attribute.

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:
 property System::Data::EntityClient::EntityParameter ^ default[int] { System::Data::EntityClient::EntityParameter ^ get(int index); void set(int index, System::Data::EntityClient::EntityParameter ^ value); };
public System.Data.EntityClient.EntityParameter this[int index] { get; set; }
member this.Item(int) : System.Data.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:
 property System::Data::EntityClient::EntityParameter ^ default[System::String ^] { System::Data::EntityClient::EntityParameter ^ get(System::String ^ parameterName); void set(System::String ^ parameterName, System::Data::EntityClient::EntityParameter ^ value); };
public System.Data.EntityClient.EntityParameter this[string parameterName] { get; set; }
member this.Item(string) : System.Data.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