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.154 -- Release Build+24a4f4795f9fb8aaeeb777ef1e3e0158effe5bad
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