# Class PostgresRangeType

Namespace
  Npgsql.PostgresTypes

Assembly
  Npgsql.dll

Represents a PostgreSQL range data type.

    public class PostgresRangeType : PostgresType

Inheritance
  object
  PostgresType
  PostgresRangeType

Inherited Members
  PostgresType.OID
  PostgresType.Namespace
  PostgresType.Name
  PostgresType.FullName
  PostgresType.DisplayName
  PostgresType.InternalName
  PostgresType.Array
  PostgresType.Range
  PostgresType.ToString()
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)

## Remarks

See https://www.postgresql.org/docs/current/static/rangetypes.html.

## Constructors

### PostgresRangeType(string, string, uint, PostgresType)

Constructs a representation of a PostgreSQL range data type.

    protected PostgresRangeType(string ns, string name, uint oid, PostgresType subtypePostgresType)

#### Parameters

`ns` string
`name` string
`oid` uint
`subtypePostgresType` PostgresType

## Properties

### Multirange

The PostgreSQL data type of the multirange of this range.

    public PostgresMultirangeType? Multirange { get; }

#### Property Value

PostgresMultirangeType

### Subtype

The PostgreSQL data type of the subtype of this range.

    public PostgresType Subtype { get; }

#### Property Value

PostgresType