Freigeben über


FormatterExtensions.Write-Methode (SpatialFormatter<TextReader, TextWriter>, ISpatial)

Schreibt den angegebene Formatierer.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Write ( _
    formatter As SpatialFormatter(Of TextReader, TextWriter), _
    spatial As ISpatial _
) As String
'Usage
Dim formatter As SpatialFormatter(Of TextReader, TextWriter)
Dim spatial As ISpatial
Dim returnValue As String

returnValue = formatter.Write(spatial)
public static string Write(
    this SpatialFormatter<TextReader, TextWriter> formatter,
    ISpatial spatial
)
[ExtensionAttribute]
public:
static String^ Write(
    SpatialFormatter<TextReader^, TextWriter^>^ formatter, 
    ISpatial^ spatial
)
static member Write : 
        formatter:SpatialFormatter<TextReader, TextWriter> * 
        spatial:ISpatial -> string 
public static function Write(
    formatter : SpatialFormatter<TextReader, TextWriter>, 
    spatial : ISpatial
) : String

Parameter

Rückgabewert

Typ: System.String
Ein Zeichenfolgenwert des formatierten Objekts.

Hinweis zur Verwendung

In Visual Basic und C# können Sie die Methode als Instanzenmethode für jedes Objekt vom Typ SpatialFormatter<TextReader, TextWriter> aufrufen. Wenn Sie Instanzmethodensyntax zum Aufruf dieser Methode verwenden, vernachlässigen Sie den ersten Parameter. Weitere Informationen finden Sie unter https://msdn.microsoft.com/de-de/library/bb384936(v=vs.103) oder https://msdn.microsoft.com/de-de/library/bb383977(v=vs.103).

Siehe auch

Verweis

FormatterExtensions Klasse

Write-Überladung

System.Spatial-Namespace