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

ISet::IsSubsetOf method

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

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

ReturnValue

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

另见