JsonReader 建構函式
初始化新類別的執行個體JsonReader與指定的TextReader物件和ClientRuntimeContext物件。此成員是保留給內部使用,而不是用來直接從您的程式碼使用
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight.Runtime (在 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中); Microsoft.SharePoint.Client.Phone.Runtime (在 Microsoft.SharePoint.Client.Phone.Runtime.dll 中) Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中)
語法
'宣告
Public Sub New ( _
reader As TextReader, _
runtimeContext As ClientRuntimeContext _
)
'用途
Dim reader As TextReader
Dim runtimeContext As ClientRuntimeContext
Dim instance As New JsonReader(reader, _
runtimeContext)
public JsonReader(
TextReader reader,
ClientRuntimeContext runtimeContext
)
參數
reader
類型:System.IO.TextReaderTextReader物件代表讀取程式可讀取一組連續的字元。
runtimeContext
類型:Microsoft.SharePoint.Client.ClientRuntimeContextClientRuntimeContext物件,表示目前的用戶端內容。