# Class PostgresArrayType

Namespace
  Npgsql.PostgresTypes

Assembly
  Npgsql.dll

Represents a PostgreSQL array data type, which can hold several multiple values in a single column.

    public class PostgresArrayType : PostgresType

Inheritance
  object
  PostgresType
  PostgresArrayType

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/arrays.html.

## Constructors

### PostgresArrayType(string, string, uint, PostgresType)

Constructs a representation of a PostgreSQL array data type.

    protected PostgresArrayType(string ns, string name, uint oid, PostgresType elementPostgresType)

#### Parameters

`ns` string
`name` string
`oid` uint
`elementPostgresType` PostgresType

## Properties

### Element

The PostgreSQL data type of the element contained within this array.

    public PostgresType Element { get; }

#### Property Value

PostgresType