| SetDocumentationIntersectWith Method |
Modifies the current set so that it contains only elements that are also in a specified collection.
Namespace: XMLCommentsExamples.DocumentationInheritanceAssembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax public void IntersectWith(
IEnumerable<int> other
)
Public Sub IntersectWith (
other As IEnumerable(Of Integer)
)
public:
virtual void IntersectWith(
IEnumerable<int>^ other
) sealed
abstract IntersectWith :
other : IEnumerable<int> -> unit
override IntersectWith :
other : IEnumerable<int> -> unit
Parameters
- other
- Type: System.Collections.GenericIEnumerableInt32
The collection to compare to the current set.
Implements
ISetTIntersectWith(IEnumerableT)Exceptions See Also