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.158 -- Release Build+8af53c44e6ad1fac543a652d58b46c9843b74b64
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