ImmutableSortedSet<T>.Builder.Contains(T) 方法

定义

确定集是否包含指定的对象。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

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

返回

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

实现

适用于