ArcGIS Pro 2.6 API Reference Guide
FromXML Method (GeometryBuilder<T>)

ArcGIS.Core.Geometry Namespace > GeometryBuilder<T> Class : FromXML Method
XML string representation of the geometry.
Creates a geometry from an ArcGIS XML geometry representation.
Syntax
protected static Geometry FromXML( 
   string XMLString
)
Protected Shared Function FromXML( _
   ByVal XMLString As String _
) As Geometry

Parameters

XMLString
XML string representation of the geometry.

Return Value

A Geometry. The GeometryType is based on the JSON string.
Exceptions
ExceptionDescription
The XMLString is empty or null.
The XMLString is invalid XML or the wrong type for the geometry builder.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

GeometryBuilder<T> Class
GeometryBuilder<T> Members