JsonNode.ReplaceWith<T>(T) 메서드

정의

이 노드를 새 값으로 대체합니다.

public:
generic <typename T>
 void ReplaceWith(T value);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Creating JsonValue instances with non-primitive types requires generating code at runtime.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Creating JsonValue instances with non-primitive types is not compatible with trimming. It can result in non-primitive types being serialized, which may have their members trimmed.")]
public void ReplaceWith<T>(T value);
public void ReplaceWith<T>(T value);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Creating JsonValue instances with non-primitive types requires generating code at runtime.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Creating JsonValue instances with non-primitive types is not compatible with trimming. It can result in non-primitive types being serialized, which may have their members trimmed.")>]
member this.ReplaceWith : 'T -> unit
member this.ReplaceWith : 'T -> unit
Public Sub ReplaceWith(Of T) (value As T)

형식 매개 변수

T

바꿀 값의 형식입니다.

매개 변수

value
T

이 노드를 대체하는 값입니다.

특성

적용 대상