| GeoJson2DCoordinates Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: MongoDB.Driver.GeoJsonObjectModel
 Syntax
SyntaxThe GeoJson2DCoordinates type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | GeoJson2DCoordinates | 
            Initializes a new instance of the GeoJson2DCoordinates class.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Values | 
            Gets the coordinate values.
            (Overrides GeoJsonCoordinatesValues.) | 
|  | X | 
            Gets the X coordinate.
             | 
|  | Y | 
            Gets the Y coordinate.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals(Object) | 
            Determines whether the specified Object is equal to this instance.
            (Inherited from GeoJsonCoordinates.) | 
|  | Equals(GeoJsonCoordinates) | 
            Determines whether the specified GeoJsonCoordinates is equal to this instance.
            (Inherited from GeoJsonCoordinates.) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) | 
|  | GetHashCode | 
            Returns a hash code for this instance.
            (Inherited from GeoJsonCoordinates.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | ToBson | 
            Serializes an object to a BSON byte array.
            (Defined by BsonExtensionMethods.) | 
|  | ToBsonDocument | 
            Serializes an object to a BsonDocument.
            (Defined by BsonExtensionMethods.) | 
|  | ToJson | 
            Serializes an object to a JSON string.
            (Defined by BsonExtensionMethods.) | 
 See Also
See Also