DbGeometry.FromGml Método

Definição

Cria um novo valor DbGeometry com base no valor de GML (Geography Markup Language) especificado.Creates a new DbGeometry value based on the specified Geography Markup Language (GML) value.

Sobrecargas

FromGml(String, Int32)

Cria um novo valor DbGeometry com base no valor de GML (Geography Markup Language) e no SRID (identificador do sistema de coordenadas) especificados.Creates a new DbGeometry value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID).

FromGml(String)

Cria um novo valor DbGeometry com base no valor de GML (Geography Markup Language) especificado.Creates a new DbGeometry value based on the specified Geography Markup Language (GML) value.

FromGml(String, Int32)

Cria um novo valor DbGeometry com base no valor de GML (Geography Markup Language) e no SRID (identificador do sistema de coordenadas) especificados.Creates a new DbGeometry value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID).

public:
 static System::Data::Spatial::DbGeometry ^ FromGml(System::String ^ geometryMarkup, int coordinateSystemId);
public static System.Data.Spatial.DbGeometry FromGml (string geometryMarkup, int coordinateSystemId);
static member FromGml : string * int -> System.Data.Spatial.DbGeometry
Public Shared Function FromGml (geometryMarkup As String, coordinateSystemId As Integer) As DbGeometry

Parâmetros

geometryMarkup
String

Uma cadeia de caracteres que contém uma representação de GML (Geography Markup Language) conhecida do valor de geometria.A string that contains a Geography Markup Language (GML) representation of the geometry value.

coordinateSystemId
Int32

O identificador do sistema de coordenadas que o novo valor de DbGeometry deve usar.The identifier of the coordinate system that the new DbGeometry value should use.

Retornos

DbGeometry

Um novo valor de DbGeometry conforme definido pelo valor de GML com o identificador do sistema de coordenadas especificado.A new DbGeometry value as defined by the GML value with the specified coordinate system identifier.

Exceções

geometryMarkup

coordinateSystemId

Aplica-se a

FromGml(String)

Cria um novo valor DbGeometry com base no valor de GML (Geography Markup Language) especificado.Creates a new DbGeometry value based on the specified Geography Markup Language (GML) value.

public:
 static System::Data::Spatial::DbGeometry ^ FromGml(System::String ^ geometryMarkup);
public static System.Data.Spatial.DbGeometry FromGml (string geometryMarkup);
static member FromGml : string -> System.Data.Spatial.DbGeometry
Public Shared Function FromGml (geometryMarkup As String) As DbGeometry

Parâmetros

geometryMarkup
String

Uma cadeia de caracteres que contém uma representação de GML (Geography Markup Language) conhecida do valor de geometria.A string that contains a Geography Markup Language (GML) representation of the geometry value.

Retornos

DbGeometry

Um novo valor de DbGeometry conforme definido pelo valor de GML com o identificador de sistema de coordenadas de geometria padrão (SRID) (DefaultCoordinateSystemId).A new DbGeometry value as defined by the GML value with the default geometry coordinate system identifier (SRID) (DefaultCoordinateSystemId).

Exceções

geometryMarkup

Aplica-se a