System::Collections::Generic::ISet::IsProperSubsetOf 方法

ISet::IsProperSubsetOf method

检查当前集合是否是另一个容器的严格子集。

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

ReturnValue

如果当前集合的所有元素都存在于 other 中且 other 的元素数量多于当前集合,则为 true;否则为 false。

另见