Set DocumentationOverlaps Method
Determines whether the current set overlaps with the specified collection.
Definition
Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
if the current set and other share at least one common element; otherwise, .
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
C#
public bool Overlaps(
IEnumerable<int> other
)VB
Public Function Overlaps (
other As IEnumerable(Of Integer)
) As BooleanC++
public:
virtual bool Overlaps(
IEnumerable<int>^ other
) sealedF#
abstract Overlaps :
other : IEnumerable<int> -> bool
override Overlaps :
other : IEnumerable<int> -> bool Parameters
- other IEnumerableInt32
- The collection to compare to the current set.
Return Value
Booleanif the current set and other share at least one common element; otherwise, .
Implements
ISetTOverlaps(IEnumerableT)Exceptions
| ArgumentNullException | other is . |