JsonPatchDocument<TModel>.Add 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
Add<TProp>(Expression<Func<TModel,IList<TProp>>>, TProp) |
목록 끝에 값 추가 |
Add<TProp>(Expression<Func<TModel,TProp>>, TProp) |
작업을 추가합니다. 예를 들어 { "op": "add", "path": "/a/b/c", "value": [ "foo", "bar" ] } |
Add<TProp>(Expression<Func<TModel,IList<TProp>>>, TProp, Int32) |
지정된 위치에서 목록에 값 추가 |
Add<TProp>(Expression<Func<TModel,IList<TProp>>>, TProp)
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
목록 끝에 값 추가
public:
generic <typename TProp>
Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Add(System::Linq::Expressions::Expression<Func<TModel, System::Collections::Generic::IList<TProp> ^> ^> ^ path, TProp value);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Add<TProp> (System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> path, TProp value);
member this.Add : System.Linq.Expressions.Expression<Func<'Model, System.Collections.Generic.IList<'Prop>>> * 'Prop -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Add(Of TProp) (path As Expression(Of Func(Of TModel, IList(Of TProp))), value As TProp) As JsonPatchDocument(Of TModel)
형식 매개 변수
- TProp
값 형식(value type)
매개 변수
- path
- Expression<Func<TModel,IList<TProp>>>
대상 위치
- value
- TProp
값
반환
연결할 JsonPatchDocument<TModel>입니다.
적용 대상
Add<TProp>(Expression<Func<TModel,TProp>>, TProp)
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
작업을 추가합니다. 예를 들어 { "op": "add", "path": "/a/b/c", "value": [ "foo", "bar" ] }
public:
generic <typename TProp>
Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Add(System::Linq::Expressions::Expression<Func<TModel, TProp> ^> ^ path, TProp value);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Add<TProp> (System.Linq.Expressions.Expression<Func<TModel,TProp>> path, TProp value);
member this.Add : System.Linq.Expressions.Expression<Func<'Model, 'Prop>> * 'Prop -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Add(Of TProp) (path As Expression(Of Func(Of TModel, TProp)), value As TProp) As JsonPatchDocument(Of TModel)
형식 매개 변수
- TProp
값 형식(value type)
매개 변수
- path
- Expression<Func<TModel,TProp>>
대상 위치
- value
- TProp
값
반환
연결할 JsonPatchDocument<TModel>입니다.
적용 대상
Add<TProp>(Expression<Func<TModel,IList<TProp>>>, TProp, Int32)
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
지정된 위치에서 목록에 값 추가
public:
generic <typename TProp>
Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Add(System::Linq::Expressions::Expression<Func<TModel, System::Collections::Generic::IList<TProp> ^> ^> ^ path, TProp value, int position);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Add<TProp> (System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> path, TProp value, int position);
member this.Add : System.Linq.Expressions.Expression<Func<'Model, System.Collections.Generic.IList<'Prop>>> * 'Prop * int -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Add(Of TProp) (path As Expression(Of Func(Of TModel, IList(Of TProp))), value As TProp, position As Integer) As JsonPatchDocument(Of TModel)
형식 매개 변수
- TProp
값 형식(value type)
매개 변수
- path
- Expression<Func<TModel,IList<TProp>>>
대상 위치
- value
- TProp
값
- position
- Int32
position
반환
연결할 JsonPatchDocument<TModel>입니다.