Set DocumentationExcept With Method
Removes all elements in the specified collection from the current set.
Definition
Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
C#
public void ExceptWith(
IEnumerable<int> other
)VB
Public Sub ExceptWith (
other As IEnumerable(Of Integer)
)C++
public:
virtual void ExceptWith(
IEnumerable<int>^ other
) sealedF#
abstract ExceptWith :
other : IEnumerable<int> -> unit
override ExceptWith :
other : IEnumerable<int> -> unit Parameters
- other IEnumerableInt32
- The collection of items to remove from the set.
Implements
ISetTExceptWith(IEnumerableT)Exceptions
| ArgumentNullException | other is . |