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

ISet::Overlaps method

检查集合是否与其他容器重叠。

virtual bool System::Collections::Generic::ISet<T>::Overlaps(IEnumerablePtr other)=0
ParameterType描述
其他IEnumerablePtr用于检查的容器。

ReturnValue

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

另见