Share via


ObjectParameterCollection.Remove(ObjectParameter) Method

Definition

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

public bool Remove (System.Data.Entity.Core.Objects.ObjectParameter item);
abstract member Remove : System.Data.Entity.Core.Objects.ObjectParameter -> bool
override this.Remove : System.Data.Entity.Core.Objects.ObjectParameter -> bool
Public Function Remove (item As ObjectParameter) As Boolean

Parameters

item
ObjectParameter

An object to remove from the collection.

Returns

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

Implements

Exceptions

The parameter argument is null.

Applies to