'Declaration
Public Function Union( _ ByVal value As Range(Of T) _ ) As Range(Of T)
Parameters
- value
- The range to union with.
Return Value
A range that contains both ranges, or null if there is no union.
value
.'Declaration
Public Function Union( _ ByVal value As Range(Of T) _ ) As Range(Of T)
Exception | Description |
---|---|
System.ArgumentNullException | value is null. |
System.ArgumentException | value is not contiguous with the range. |