FormatterExtensions.Write Method (SpatialFormatter<XmlReader, XmlWriter>, ISpatial)

WCF Data Services 5.0

Writes the specified formatter.

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

public static string Write(
	this SpatialFormatter<XmlReader, XmlWriter> formatter,
	ISpatial spatial


Type: System.Spatial.SpatialFormatter<XmlReader, XmlWriter>
The formatter.
Type: System.Spatial.ISpatial
The spatial object.

Return Value

Type: System.String
A string value of the formatted object.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SpatialFormatter<XmlReader, XmlWriter>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or