Share via


ObjectParameterCollection.Item[String] Property

Definition

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

public System.Data.Entity.Core.Objects.ObjectParameter this[string name] { get; }
member this.Item(string) : System.Data.Entity.Core.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