JsonValue.Load 方法

定義

多載

Load(Stream)
Load(TextReader)

Load(Stream)

public:
 static System::Json::JsonValue ^ Load(System::IO::Stream ^ stream);
public static System.Json.JsonValue Load (System.IO.Stream stream);
static member Load : System.IO.Stream -> System.Json.JsonValue
Public Shared Function Load (stream As Stream) As JsonValue

參數

stream
Stream

傳回

JsonValue

備註

### 備註

注意

命名空間 System.Json 是針對不再支援的 Silverlight 所設計。 若要處理 JSON,建議您改用 命名空間中的 System.Text.Json API。

適用於

Load(TextReader)

public:
 static System::Json::JsonValue ^ Load(System::IO::TextReader ^ textReader);
public static System.Json.JsonValue Load (System.IO.TextReader textReader);
static member Load : System.IO.TextReader -> System.Json.JsonValue
Public Shared Function Load (textReader As TextReader) As JsonValue

參數

textReader
TextReader

傳回

JsonValue

備註

### 備註

注意

命名空間 System.Json 是針對不再支援的 Silverlight 所設計。 若要處理 JSON,建議您改用 命名空間中的 System.Text.Json API。

適用於