JsonPatchDocument<TModel>.Remove メソッド

定義

オーバーロード

Remove<TProp>(Expression<Func<TModel,IList<TProp>>>)

リストの末尾から値を削除する

Remove<TProp>(Expression<Func<TModel,TProp>>)

ターゲットの場所にある値を削除します。 {"op": "remove", "path": "/a/b/c" } のようになります。

Remove<TProp>(Expression<Func<TModel,IList<TProp>>>, Int32)

指定した位置にあるリストから値を削除する

Remove<TProp>(Expression<Func<TModel,IList<TProp>>>)

リストの末尾から値を削除する

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Remove(System::Linq::Expressions::Expression<Func<TModel, System::Collections::Generic::IList<TProp> ^> ^> ^ path);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Remove<TProp> (System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> path);
member this.Remove : System.Linq.Expressions.Expression<Func<'Model, System.Collections.Generic.IList<'Prop>>> -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Remove(Of TProp) (path As Expression(Of Func(Of TModel, IList(Of TProp)))) As JsonPatchDocument(Of TModel)

型パラメーター

TProp

値型

パラメーター

path
Expression<Func<TModel,IList<TProp>>>

ターゲットの場所

戻り値

チェーン用の JsonPatchDocument<TModel>

適用対象

Remove<TProp>(Expression<Func<TModel,TProp>>)

ターゲットの場所にある値を削除します。 {"op": "remove", "path": "/a/b/c" } のようになります。

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Remove(System::Linq::Expressions::Expression<Func<TModel, TProp> ^> ^ path);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Remove<TProp> (System.Linq.Expressions.Expression<Func<TModel,TProp>> path);
member this.Remove : System.Linq.Expressions.Expression<Func<'Model, 'Prop>> -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Remove(Of TProp) (path As Expression(Of Func(Of TModel, TProp))) As JsonPatchDocument(Of TModel)

型パラメーター

TProp

パラメーター

path
Expression<Func<TModel,TProp>>

ターゲットの場所

戻り値

チェーン用の JsonPatchDocument<TModel>

適用対象

Remove<TProp>(Expression<Func<TModel,IList<TProp>>>, Int32)

指定した位置にあるリストから値を削除する

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Remove(System::Linq::Expressions::Expression<Func<TModel, System::Collections::Generic::IList<TProp> ^> ^> ^ path, int position);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Remove<TProp> (System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> path, int position);
member this.Remove : System.Linq.Expressions.Expression<Func<'Model, System.Collections.Generic.IList<'Prop>>> * int -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Remove(Of TProp) (path As Expression(Of Func(Of TModel, IList(Of TProp))), position As Integer) As JsonPatchDocument(Of TModel)

型パラメーター

TProp

値型

パラメーター

path
Expression<Func<TModel,IList<TProp>>>

ターゲットの場所

position
Int32

position

戻り値

チェーン用の JsonPatchDocument<TModel>

適用対象