搜尋結果
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。. Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。. 判斷 IList<T> 中指定項目的索引。. public: virtual int IndexOf (System::Json::JsonValue ^ item); public int IndexOf (System.Json.JsonValue item);
表示 JsonDocument 內的特定 JSON 值。
- Definition
- Remarks
namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the
Definition. Namespace: System. Text. Json. Assembly: System.Text.Json.dll. Package: System.Text.Json v9.0.0-preview.7.24405.7. Source: JsonSerializerOptions.cs. Gets or sets an object that specifies how number types should be handled when serializing or deserializing. C# 複製.
public: virtual void Add (System::Collections::Generic::KeyValuePair<System::String ^, System::Json::JsonValue ^> pair); public void Add (System.Collections.Generic.KeyValuePair<string,System.Json.JsonValue> pair);
Provides extension methods for HttpClient and HttpContent that perform automatic serialization and deserialization using System.Text.Json.
Microsoft Docs