Share via


GeographyCollection Class

Represents the collection of geographies.

Inheritance Hierarchy

System.Object
  System.Spatial.Geography
    System.Spatial.GeographyCollection
      System.Spatial.GeographyMultiCurve
      System.Spatial.GeographyMultiPoint
      System.Spatial.GeographyMultiSurface

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

Syntax

'Declaration
Public MustInherit Class GeographyCollection _
    Inherits Geography
'Usage
Dim instance As GeographyCollection
public abstract class GeographyCollection : Geography
public ref class GeographyCollection abstract : public Geography
[<AbstractClassAttribute>]
type GeographyCollection =  
    class 
        inherit Geography 
    end
public abstract class GeographyCollection extends Geography

The GeographyCollection type exposes the following members.

Constructors

  Name Description
Protected method GeographyCollection Initializes a new instance of the GeographyCollection class.

Top

Properties

  Name Description
Public property CoordinateSystem Gets the coordinate system of the geography. (Inherited from Geography.)
Public property Geographies Gets the collection of geographies.
Public property IsEmpty Gets a value that indicates whether the geography is empty. (Inherited from Geography.)

Top

Methods

  Name Description
Public method Equals(Object) Determines whether this instance and the specified object have the same value. (Overrides Object.Equals(Object).)
Public method Equals(GeographyCollection) Determines whether this instance and another specified geography instance have the same value.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Gets the hash code. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SendTo Sends the current spatial object to the given pipeline. (Inherited from Geography.)
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method Distance Determines the distance of the geography. (Defined by GeographyOperationsExtensions.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Spatial Namespace