GeoJsonObjectFormatter.Read<T> Method
Reads from the source.
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
Public MustOverride Function Read(Of T As {Class, ISpatial}) ( _
source As IDictionary(Of String, Object) _
) As T
'Usage
Dim instance As GeoJsonObjectFormatter
Dim source As IDictionary(Of String, Object)
Dim returnValue As T
returnValue = instance.Read(source)
public abstract T Read<T>(
IDictionary<string, Object> source
)
where T : class, ISpatial
public:
generic<typename T>
where T : ref class, ISpatial
virtual T Read(
IDictionary<String^, Object^>^ source
) abstract
abstract Read :
source:IDictionary<string, Object> -> 'T when 'T : not struct and ISpatial
JScript does not support generic types and methods.
Type Parameters
- T
The spatial type to read.
Parameters
- source
Type: System.Collections.Generic.IDictionary<String, Object>
The source json object.
Return Value
Type: T
The GeoJsonObjectFormatter object that was read.