EntityParameterCollection.IndexOf Método

Definição

Obtém o local do EntityParameter especificado na coleção.Gets the location of the specified EntityParameter in the collection.

Sobrecargas

IndexOf(String)

Obtém o local do EntityParameter especificado com o nome especificado.Gets the location of the specified EntityParameter with the specified name.

IndexOf(EntityParameter)

Obtém o local do EntityParameter especificado na coleção.Gets the location of the specified EntityParameter in the collection.

IndexOf(Object)

Obtém o local do Object especificado na coleção.Gets the location of the specified Object in the collection.

IndexOf(String)

Obtém o local do EntityParameter especificado com o nome especificado.Gets the location of the specified EntityParameter with the specified name.

public:
 override int IndexOf(System::String ^ parameterName);
public override int IndexOf (string parameterName);
override this.IndexOf : string -> int
Public Overrides Function IndexOf (parameterName As String) As Integer

Parâmetros

parameterName
String

O nome do EntityParameter a ser encontrado, que diferencia maiúsculas de minúsculas.The case-sensitive name of the EntityParameter to find.

Retornos

Int32

O local de base em zero do EntityParameter especificado om o nome que diferencia maiúsculas de minúsculas.The zero-based location of the specified EntityParameter with the specified case-sensitive name. Retorna -1 quando o objeto não existe no EntityParameterCollection.Returns -1 when the object does not exist in the EntityParameterCollection.

Aplica-se a

IndexOf(EntityParameter)

Obtém o local do EntityParameter especificado na coleção.Gets the location of the specified EntityParameter in the collection.

public:
 int IndexOf(System::Data::EntityClient::EntityParameter ^ value);
public int IndexOf (System.Data.EntityClient.EntityParameter value);
override this.IndexOf : System.Data.EntityClient.EntityParameter -> int
Public Function IndexOf (value As EntityParameter) As Integer

Parâmetros

value
EntityParameter

O EntityParameter a ser localizado.The EntityParameter to find.

Retornos

Int32

O local de base zero do EntityParameter especificado que é um EntityParameter na coleção.The zero-based location of the specified EntityParameter that is a EntityParameter in the collection. Retorna -1 quando o objeto não existe no EntityParameterCollection.Returns -1 when the object does not exist in the EntityParameterCollection.

Aplica-se a

IndexOf(Object)

Obtém o local do Object especificado na coleção.Gets the location of the specified Object in the collection.

public:
 override int IndexOf(System::Object ^ value);
public override int IndexOf (object value);
override this.IndexOf : obj -> int
Public Overrides Function IndexOf (value As Object) As Integer

Parâmetros

value
Object

O Object a ser localizado.The Object to find.

Retornos

Int32

O local de base zero do Object especificado que é um EntityParameter na coleção.The zero-based location of the specified Object that is a EntityParameter in the collection. Retorna -1 quando o objeto não existe no EntityParameterCollection.Returns -1 when the object does not exist in the EntityParameterCollection.

Aplica-se a