ImmutableSortedSet<T>.Builder.Contains(T) ImmutableSortedSet<T>.Builder.Contains(T) ImmutableSortedSet<T>.Builder.Contains(T) ImmutableSortedSet<T>.Builder.Contains(T) Method

定义

确定集是否包含指定的对象。Determines whether the set contains the specified object.

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

参数

item
T T T T

要在集内查找的对象。The object to locate in the set.

返回

如果在集内找到 item,则为 true;否则为 falsetrue if item is found in the set; otherwise, false.

实现

适用于