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.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
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