ReadOnlyCollectionBuilder<T>.Remove(T) 方法

定義

ReadOnlyCollectionBuilder<T>移除第一個出現的特定物件。

public:
 virtual bool Remove(T item);
public bool Remove(T item);
abstract member Remove : 'T -> bool
override this.Remove : 'T -> bool
Public Function Remove (item As T) As Boolean

參數

item
T

要從 中移除 ReadOnlyCollectionBuilder<T>的物件。

傳回

true 若項目成功從 ReadOnlyCollectionBuilder<T>中移除;否則為假。 若原始 中找不到 ReadOnlyCollectionBuilder<T>項目,此方法也會回傳 false。

實作

適用於