Overlaps Method

ISet(Of T).Overlaps Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines whether the current set overlaps with the specified collection.

Namespace:  System.Collections.Generic
Assembly:  System (in System.dll)

'Declaration
Function Overlaps ( _
	other As IEnumerable(Of T) _
) As Boolean

Parameters

other
Type: System.Collections.Generic.IEnumerable(Of T)
The collection to compare to the current set.

Return Value

Type: System.Boolean
true if the current set and other share at least one common element; otherwise, false.

ExceptionCondition
ArgumentNullException

other is Nothing.

Any duplicate elements in other are ignored.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft