## ISet::IntersectWith method


移除在其他容器中不存在的元素。

```cpp
virtual void System::Collections::Generic::ISet<T>::IntersectWith(IEnumerablePtr other)=0
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 其他 | IEnumerablePtr | 要保留的元素（如果存在）。 |

## 另见

* Typedef [IEnumerablePtr](../ienumerableptr/)
* Class [ISet](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
