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.160 -- Release Build+19b74ac03cedad8575bb1ceb00051318b7421d0d
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