System::Collections::Generic::ISet::Overlaps 方法

ISet::Overlaps method

检查集合是否与另一个容器重叠。

virtual bool System::Collections::Generic::ISet<T>::Overlaps(IEnumerablePtr other)=0
参数类型描述
其他IEnumerablePtr要检查的容器。

ReturnValue

如果当前集合和 other 至少有一个共同元素,则为 true;否则为 false。

另见