JsonValue.Load 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
傳回
備註
### 備註
注意
命名空間 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
傳回
備註
### 備註
注意
命名空間 System.Json 是針對不再支援的 Silverlight 所設計。 若要處理 JSON,建議您改用 命名空間中的 System.Text.Json API。