System::Collections::Generic::ISet::SymmetricExceptWith 方法

ISet::SymmetricExceptWith method

计算两个容器的对称差集。移除同时存在于两个容器中的所有元素,同时添加 other 中存在但当前集合中不存在的所有元素。

virtual void System::Collections::Generic::ISet<T>::SymmetricExceptWith(IEnumerablePtr other)=0
参数类型描述
其他IEnumerablePtr用于计算差集的容器。

另见