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.143 -- Release Build+524337d392fd5616b12b50022b004322b9e7c330
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