ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / PolygonBuilderEx Class / FromXml Method
XML string representation of Polygon.

In This Topic
    FromXml Method (PolygonBuilderEx)
    In This Topic
    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.
    The XML string is invalid or does not represent a polygon string.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also