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

ISet::IsProperSubsetOf method

检查当前集合是否是其他容器的严格子集。

virtual bool System::Collections::Generic::ISet<T>::IsProperSubsetOf(IEnumerablePtr other)=0
ParameterType描述
其他IEnumerablePtr用于检查的上位集合。

ReturnValue

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

另见