FormatterExtensions.Write Method (SpatialFormatter<XmlReader, XmlWriter>, ISpatial)
Writes the specified formatter.
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Write ( _
formatter As SpatialFormatter(Of XmlReader, XmlWriter), _
spatial As ISpatial _
) As String
'Usage
Dim formatter As SpatialFormatter(Of XmlReader, XmlWriter)
Dim spatial As ISpatial
Dim returnValue As String
returnValue = formatter.Write(spatial)
public static string Write(
this SpatialFormatter<XmlReader, XmlWriter> formatter,
ISpatial spatial
)
[ExtensionAttribute]
public:
static String^ Write(
SpatialFormatter<XmlReader^, XmlWriter^>^ formatter,
ISpatial^ spatial
)
static member Write :
formatter:SpatialFormatter<XmlReader, XmlWriter> *
spatial:ISpatial -> string
public static function Write(
formatter : SpatialFormatter<XmlReader, XmlWriter>,
spatial : ISpatial
) : String
Parameters
- formatter
Type: System.Spatial.SpatialFormatter<XmlReader, XmlWriter>
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<XmlReader, XmlWriter>. 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.113) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.113).