System::Collections::Generic::ISet::IsSubsetOf 方法

ISet::IsSubsetOf method

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

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

ReturnValue

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

另见