EntityParameterCollection.IndexOf Method

 

Finds the index in the collection.

Namespace:   System.Data.Entity.Core.EntityClient
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodIndexOf(EntityParameter)

Gets the location of the specified EntityParameter in the collection.

System_CAPS_pubmethodIndexOf(Object)

Gets the location of the specified Object in the collection.(Overrides DbParameterCollection.IndexOf(Object).)

System_CAPS_pubmethodIndexOf(String)

Gets the location of the specified EntityParameter with the specified name.(Overrides DbParameterCollection.IndexOf(String).)


EntityParameterCollection.IndexOf Method (EntityParameter)

Gets the location of the specified EntityParameter in the collection.

public int IndexOf(
	EntityParameter value
)

Return Value

Type: System.Int32

The zero-based location of the specified EntityParameter that is a EntityParameter in the collection. Returns -1 when the object does not exist in the EntityParameterCollection .


EntityParameterCollection.IndexOf Method (Object)

Gets the location of the specified Object in the collection.

public override int IndexOf(
	object value
)

Parameters

value
Type: System.Object

The Object to find.

Return Value

Type: System.Int32

The zero-based location of the specified Object that is a EntityParameter in the collection. Returns -1 when the object does not exist in the EntityParameterCollection .


EntityParameterCollection.IndexOf Method (String)

Gets the location of the specified EntityParameter with the specified name.

public override int IndexOf(
	string parameterName
)

Parameters

parameterName
Type: System.String

The case-sensitive name of the EntityParameter to find.

Return Value

Type: System.Int32

The zero-based location of the specified EntityParameter with the specified case-sensitive name. Returns -1 when the object does not exist in the EntityParameterCollection .