Export (0) Print
Expand All

FormatterExtensions.Write Method (SpatialFormatter<TextReader, TextWriter>, 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<TextReader, TextWriter> formatter,
	ISpatial spatial
)

Parameters

formatter
Type: System.Spatial.SpatialFormatter<TextReader, TextWriter>
The formatter.
spatial
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<TextReader, TextWriter>. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103).aspx or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).aspx.
Show:
© 2015 Microsoft