ObjectParameterCollection.Remove Method (ObjectParameter)

 

Removes an instance of an ObjectParameter from the collection by reference if it exists in the collection.

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

public bool Remove(
	ObjectParameter item
)

Parameters

item
Type: System.Data.Entity.Core.Objects.ObjectParameter

An object to remove from the collection.

Return Value

Type: System.Boolean

Returns true if the parameter object was found and removed from the collection; otherwise, false.

Exception Condition
ArgumentNullException

The parameter argument is null.