DbGeography.AsText Method

Definition

Generates the well known text representation of this DbGeography value. Includes only Longitude and Latitude for points.

public:
 System::String ^ AsText();
public string AsText ();
member this.AsText : unit -> string
Public Function AsText () As String

Returns

A string containing the well known text representation of this DbGeography value.

Applies to