Gemstone Common Library
Show/Hide TOC

# Range T Contains(T) Method

Determines whether the range contains the given value.

## Definition

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

    public bool Contains(
    	T value
    )

VB
View Source Request Example

    Public Function Contains (
    	value As T
    ) As Boolean

C++
View Source Request Example

    public:
    bool Contains(
    	T value
    )

JavaScript
View Source Request Example

    function Contains(value);

#### Parameters

value T
  The value to be compared with.

#### Return Value

Boolean
True if the value exists within the range; false otherwise.

## See Also

#### Reference

RangeT Class
Contains Overload
Gemstone Namespace