從來源讀取。
命名空間: 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 物件。