ArcGIS Pro 2.7 API Reference Guide
FromXML Method (PolygonBuilder)

ArcGIS.Core.Geometry Namespace > PolygonBuilder Class : FromXML Method
XML string representation of Polygon.
Creates a new instance of a Polygon class from an XML string representation.
Syntax
public static Polygon FromXML( 
   string XMLString
)
Public Shared Function FromXML( _
   ByVal XMLString As String _
) As Polygon

Parameters

XMLString
XML string representation of Polygon.

Return Value

Exceptions
ExceptionDescription
The XMLString is empty or null.
XML is invalid or does not represent a polygon string.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

PolygonBuilder Class
PolygonBuilder Members