IXmlJsonReaderInitializer インターフェイス

定義

JSON (JavaScript Object Notation) リーダーを再利用して特定のストリームまたはバッファーから読み取るときに、JSON (JavaScript Object Notation) リーダーを初期化するためのインターフェイスを指定します。

public interface class IXmlJsonReaderInitializer
public interface IXmlJsonReaderInitializer
type IXmlJsonReaderInitializer = interface
Public Interface IXmlJsonReaderInitializer

注釈

XmlDictionaryReader メソッドのいずれかによって作成された CreateJsonReader オブジェクトは、このインターフェイスを実装し、JSON エンコードされたデータを読み取れるように初期化されます。 ただし、同じ XmlDictionaryReader オブジェクトを再利用して、JSON エンコードされたその他のデータを読み取る場合、SetInput メソッドのいずれかを使用して、読み取られる 2 つ目のデータセットにリーダーを初期化する必要があります。

メソッド

SetInput(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

JSON (JavaScript Object Notation) 対応のリーダーを、JSON エンコードされたデータを含む特定のバッファーに再初期化します。

SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

JSON (JavaScript Object Notation) 対応のリーダーを、JSON エンコードされたデータを含む特定のストリームに再初期化します。

適用対象