共用方式為


GeoObject Class

Definition

A base type for all spatial types.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Core.GeoJson.GeoJsonConverter))]
public abstract class GeoObject
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Core.GeoJson.GeoJsonConverter))>]
type GeoObject = class
Public MustInherit Class GeoObject
Inheritance
GeoObject
Derived
Attributes

Properties

BoundingBox

Represents information about the coordinate range of the GeoObject.

Type

Gets the GeoJSON type of this object.

Methods

Parse(String)

Parses an instance of see GeoObject from provided JSON representation.

ToString()

Converts an instance of GeoObject to a GeoJSON representation.

TryGetCustomProperty(String, Object)

Tries to get a value of a custom property associated with the GeoObject.

Applies to