Share via


SpatialFormatter<TReaderStream, TWriterStream>.Read<TResult> Method (TReaderStream)

Parses the input, and produces the object.

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

Syntax

'Declaration
Public Function Read(Of TResult As {Class, ISpatial}) ( _
    input As TReaderStream _
) As TResult
'Usage
Dim instance As SpatialFormatter 
Dim input As TReaderStream
Dim returnValue As TResult

returnValue = instance.Read(input)
public TResult Read<TResult>(
    TReaderStream input
)
where TResult : class, ISpatial
public:
generic<typename TResult>
where TResult : ref class, ISpatial
TResult Read(
    TReaderStream input
)
member Read : 
        input:'TReaderStream -> 'TResult  when 'TResult : not struct and ISpatial
JScript does not support generic types and methods.

Type Parameters

  • TResult
    The type of object to produce.

Parameters

Return Value

Type: TResult
The input.

See Also

Reference

SpatialFormatter<TReaderStream, TWriterStream> Class

Read Overload

System.Spatial Namespace