# Class PostgresMultirangeType

Namespace
  Npgsql.PostgresTypes

Assembly
  Npgsql.dll

Represents a PostgreSQL multirange data type.

    public class PostgresMultirangeType : PostgresType

Inheritance
  object
  PostgresType
  PostgresMultirangeType

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.

Multirange types were introduced in PostgreSQL 14.

## Constructors

### PostgresMultirangeType(string, string, uint, PostgresRangeType)

Constructs a representation of a PostgreSQL multirange data type.

    protected PostgresMultirangeType(string ns, string name, uint oid, PostgresRangeType rangePostgresType)

#### Parameters

`ns` string
`name` string
`oid` uint
`rangePostgresType` PostgresRangeType

## Properties

### Subrange

The PostgreSQL data type of the range of this multirange.

    public PostgresRangeType Subrange { get; }

#### Property Value

PostgresRangeType