JsonNode.ReplaceWith<T>(T) Method

Definition

Replaces this node with a new value.

public:
generic <typename T>
 void ReplaceWith(T value);
public void ReplaceWith<T> (T value);
member this.ReplaceWith : 'T -> unit
Public Sub ReplaceWith(Of T) (value As T)

Type Parameters

T

The type of value to be replaced.

Parameters

value
T

The value that replaces this node.

Applies to