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.159 -- Release Build+a612c25bc0e1c87e5766544ec4650d2ebcfddcf4
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