# Class PostgresCompositeType.Field

Namespace
  Npgsql.PostgresTypes

Assembly
  Npgsql.dll

Represents a field in a PostgreSQL composite data type.

    public class PostgresCompositeType.Field

Inheritance
  object
  PostgresCompositeType.Field

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)

## Properties

### Name

The name of the composite field.

    public string Name { get; }

#### Property Value

string

### Type

The type of the composite field.

    public PostgresType Type { get; }

#### Property Value

PostgresType

## Methods

### ToString()

Returns a string that represents the current object.

    public override string ToString()

#### Returns

string

  A string that represents the current object.