| ArcGIS Explorer Component Help |
| Multipatch..::.ToXmlString Method |
| Multipatch Class See Also |
Helper method to serialize an object to its XML representation. Not supported for Multipatches.
Namespace:
ESRI.ArcGISExplorer.GeometryAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
| C# |
|---|
public override string ToXmlString() |
| Visual Basic (Declaration) |
|---|
Public Overrides Function ToXmlString As String |
Return Value
Not supported for Multipatches.
Remarks
Serialization of ArcGIS Explorer objects xml is used in a number of situations; when saving a map, and also when passing objects between the UI thread and a background worker thread. As serialization to XML is not supported for Multipatch geometries, this method is overridden on the Multipatch class and throws a NotSupportedException if called.
Exceptions
| Exception | Condition |
|---|---|
| System..::.NotSupportedException | Serialization to XML is not supported for Multipatches. |