Condividi tramite


Metodo SqlSpatialFunctions.AsTextZM (DbGeography)

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Restituisce la rappresentazione WKT (Well-Known Text) di OGC (Open Geospatial Consortium) di un'istanza geografica argomentata con valori Z (elevazione) ed M (misura) portati dall'istanza.

Spazio dei nomi:  System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId := "geographyValue")> _
<DbFunctionAttribute("SqlServer", "ASTEXTZM")> _
Public Shared Function AsTextZM ( _
    geographyValue As DbGeography _
) As String
'Utilizzo
Dim geographyValue As DbGeography 
Dim returnValue As String 

returnValue = SqlSpatialFunctions.AsTextZM(geographyValue)
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geographyValue")]
[DbFunctionAttribute("SqlServer", "ASTEXTZM")]
public static string AsTextZM(
    DbGeography geographyValue
)
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA1801:ReviewUnusedParameters", MessageId = L"geographyValue")]
[DbFunctionAttribute(L"SqlServer", L"ASTEXTZM")]
public:
static String^ AsTextZM(
    DbGeography^ geographyValue
)
[<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geographyValue")>]
[<DbFunctionAttribute("SqlServer", "ASTEXTZM")>]
static member AsTextZM : 
        geographyValue:DbGeography -> string
public static function AsTextZM(
    geographyValue : DbGeography
) : String

Parametri

Valore restituito

Tipo: System.String
Rappresentazione WKT (Well-Known Text) di OGC (Open Geospatial Consortium) di un'istanza geografica.

Vedere anche

Riferimento

SqlSpatialFunctions Classe

Overload AsTextZM

Spazio dei nomi System.Data.Entity.SqlServer