編輯

共用方式為


KeyedByTypeCollection<TItem>.Remove<T> Method

Definition

Removes an object of a specified type from the collection.

public:
generic <typename T>
 T Remove();
public T Remove<T> ();
override this.Remove : unit -> 'T
Public Function Remove(Of T) () As T

Type Parameters

T

The type of item in the collection to remove.

Returns

T

The object removed from the collection.

Applies to