Redigera

Dela via


ObjectParameterCollection.Item[String] Property

Definition

Provides an indexer that allows callers to retrieve parameters by name.

public:
 property System::Data::Objects::ObjectParameter ^ default[System::String ^] { System::Data::Objects::ObjectParameter ^ get(System::String ^ name); };
public System.Data.Objects.ObjectParameter this[string name] { get; }
member this.Item(string) : System.Data.Objects.ObjectParameter
Default Public ReadOnly Property Item(name As String) As ObjectParameter

Parameters

name
String

The name of the parameter to find. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name.

Property Value

The ObjectParameter instance.

Exceptions

No parameter with the specified name is found in the collection.

Applies to