JsonArray.Insert(Int32, JsonValue) メソッド

定義

指定したインデックスの IList<T> に項目を挿入します。

public:
 virtual void Insert(int index, System::Json::JsonValue ^ item);
public void Insert (int index, System.Json.JsonValue item);
abstract member Insert : int * System.Json.JsonValue -> unit
override this.Insert : int * System.Json.JsonValue -> unit
Public Sub Insert (index As Integer, item As JsonValue)

パラメーター

index
Int32

item を挿入する位置の、0 から始まるインデックス。

item
JsonValue

IList<T> に挿入するオブジェクト。

実装

注釈

### 備考

注意

名前空間は System.Json Silverlight 用に設計されましたが、これはサポートされなくなりました。 JSON を処理する場合は、代わりに名前空間で System.Text.Json API を使用することをお勧めします。

適用対象