从源读取。
命名空间: System.Spatial
程序集: System.Spatial(在 System.Spatial.dll 中)
语法
声明
Public MustOverride Function Read(Of T As {Class, ISpatial}) ( _
source As IDictionary(Of String, Object) _
) As T
用法
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 不支持一般类型和方法。
类型参数
- T
要读取的空间类型。
参数
- source
类型:System.Collections.Generic.IDictionary<String, Object>
源 json 对象。
返回值
类型:T
读取的 GeoJsonObjectFormatter 对象。