Search Results for

    Show / Hide Table of Contents

    Struct NpgsqlPoint

    Represents a PostgreSQL point type.

    Implements
    IEquatable<><NpgsqlPoint>
    Namespace: NpgsqlTypes
    Assembly: Npgsql.dll
    Syntax
    public struct NpgsqlPoint : IEquatable<NpgsqlPoint>
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    Constructors

    | Improve this Doc View Source

    NpgsqlPoint(double, double)

    Declaration
    public NpgsqlPoint(double x, double y)
    Parameters
    Type Name Description
    double x
    double y
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    Properties

    | Improve this Doc View Source

    X

    Declaration
    public double X { readonly get; set; }
    Property Value
    Type Description
    double
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    Y

    Declaration
    public double Y { readonly get; set; }
    Property Value
    Type Description
    double
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    Methods

    | Improve this Doc View Source

    Equals(NpgsqlPoint)

    Declaration
    public bool Equals(NpgsqlPoint other)
    Parameters
    Type Name Description
    NpgsqlPoint other
    Returns
    Type Description
    bool
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object? obj
    Returns
    Type Description
    bool
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    Operators

    | Improve this Doc View Source

    operator ==(NpgsqlPoint, NpgsqlPoint)

    Declaration
    public static bool operator ==(NpgsqlPoint x, NpgsqlPoint y)
    Parameters
    Type Name Description
    NpgsqlPoint x
    NpgsqlPoint y
    Returns
    Type Description
    bool
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    operator !=(NpgsqlPoint, NpgsqlPoint)

    Declaration
    public static bool operator !=(NpgsqlPoint x, NpgsqlPoint y)
    Parameters
    Type Name Description
    NpgsqlPoint x
    NpgsqlPoint y
    Returns
    Type Description
    bool
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    Implements

    IEquatable<>
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team