Gemstone Common Library
Show/Hide TOC

# Range T Merge(Range T) Method

Merges two ranges into one range that fully encompasses both ranges.

## Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.172 -- Release Build+241430fabc9f8d815f226ef82f939af6835b2b48
C#
View Source Request Example

    public Range<T> Merge(
    	Range<T> range
    )

VB
View Source Request Example

    Public Function Merge (
    	range As Range(Of T)
    ) As Range(Of T)

C++
View Source Request Example

    public:
    Range<T>^ Merge(
    	Range<T>^ range
    )

JavaScript
View Source Request Example

    function Merge(range);

#### Parameters

range Range T
  The range to be merged with this one.

#### Return Value

Range T
The range that fully encompasses the merged ranges.

## See Also

#### Reference

RangeT Class
Merge Overload
Gemstone Namespace