SpatialFormatter<TReaderStream, TWriterStream>.Read<TResult> Method (TReaderStream, SpatialPipeline)
Parses the input, and produces the object.
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
Public Sub Read(Of TResult As {Class, ISpatial}) ( _
input As TReaderStream, _
pipeline As SpatialPipeline _
)
'Usage
Dim instance As SpatialFormatter
Dim input As TReaderStream
Dim pipeline As SpatialPipeline
instance.Read(input, pipeline)
public void Read<TResult>(
TReaderStream input,
SpatialPipeline pipeline
)
where TResult : class, ISpatial
public:
generic<typename TResult>
where TResult : ref class, ISpatial
void Read(
TReaderStream input,
SpatialPipeline^ pipeline
)
member Read :
input:'TReaderStream *
pipeline:SpatialPipeline -> unit when 'TResult : not struct and ISpatial
JScript does not support generic types and methods.
Type Parameters
- TResult
The type of object to produce.
Parameters
- input
Type: TReaderStream
The input to be parsed.
- pipeline
Type: System.Spatial.SpatialPipeline
The pipeline to call during reading.