PrincipalValueCollection<T>.Remove(T) PrincipalValueCollection<T>.Remove(T) PrincipalValueCollection<T>.Remove(T) PrincipalValueCollection<T>.Remove(T) Method

定義

從集合中移除指定的物件。Removes the specified object from the collection.

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

參數

value
T T T T

要從集合移除的物件。The object to be removed from the collection.

傳回

傳回 boolReturns a bool. 如果已移除物件則傳回 true,如果物件不在集合中則傳回 falseReturns true if the object was removed, or false if the object was not in the collection.

實作

適用於