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.164 -- Release Build+6bbd7ea5ff4ad8917f12d693358b77d083ee278e
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