EntityParameterCollection.Item[] 屬性

定義

會得到帶有指定屬性的 。EntityParameter

多載

名稱 Description
Item[Int32]

在指定的索引處得到 。EntityParameter

Item[String]

得到指定名稱的 。EntityParameter

Item[Int32]

在指定的索引處得到 。EntityParameter

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

參數

index
Int32

要檢索的參數的零基索引。

屬性值

在指定的索引上。EntityParameter

例外狀況

指定的索引不存在。

適用於

Item[String]

得到指定名稱的 。EntityParameter

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

參數

parameterName
String

要檢索的參數名稱。

屬性值

這些 EntityParameter 名稱就是指定的。

例外狀況

指定名稱不存在。

適用於