Show / Hide Table of Contents

Class PostgisGeometryCollection

Represents a collection of Postgis feature.

Inheritance
System.Object
PostgisGeometry
PostgisGeometryCollection
Implements
System.IEquatable<PostgisGeometryCollection>
System.Collections.Generic.IEnumerable<PostgisGeometry>
System.Collections.IEnumerable
Inherited Members
PostgisGeometry.SRID
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NpgsqlTypes
Assembly: Npgsql.dll
Syntax
public class PostgisGeometryCollection : PostgisGeometry, IEquatable<PostgisGeometryCollection>, IEnumerable<PostgisGeometry>, IEnumerable

Constructors

PostgisGeometryCollection(PostgisGeometry[])

Declaration
public PostgisGeometryCollection(PostgisGeometry[] geometries)
Parameters
Type Name Description
PostgisGeometry[] geometries

PostgisGeometryCollection(IEnumerable<PostgisGeometry>)

Declaration
public PostgisGeometryCollection(IEnumerable<PostgisGeometry> geometries)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<PostgisGeometry> geometries

Properties

GeometryCount

Declaration
public int GeometryCount { get; }
Property Value
Type Description
System.Int32

Item[Int32]

Declaration
public PostgisGeometry this[int index] { get; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
PostgisGeometry

Methods

Equals(PostgisGeometryCollection)

Declaration
public bool Equals(PostgisGeometryCollection other)
Parameters
Type Name Description
PostgisGeometryCollection other
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)

GetEnumerator()

Declaration
public IEnumerator<PostgisGeometry> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<PostgisGeometry>

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

GetLenHelper()

Declaration
protected override int GetLenHelper()
Returns
Type Description
System.Int32
Overrides
PostgisGeometry.GetLenHelper()

Operators

Equality(PostgisGeometryCollection, PostgisGeometryCollection)

Declaration
public static bool operator ==(PostgisGeometryCollection x, PostgisGeometryCollection y)
Parameters
Type Name Description
PostgisGeometryCollection x
PostgisGeometryCollection y
Returns
Type Description
System.Boolean

Inequality(PostgisGeometryCollection, PostgisGeometryCollection)

Declaration
public static bool operator !=(PostgisGeometryCollection x, PostgisGeometryCollection y)
Parameters
Type Name Description
PostgisGeometryCollection x
PostgisGeometryCollection y
Returns
Type Description
System.Boolean

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

System.IEquatable<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Back to top Generated by DocFX