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.178 -- Release Build+f8a23028fef00502c7e35bcc3934c260e8a0eb56
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