DelimitedValue Class
Definition
Represents a string-valued field in a mutable delimited document tree.
public sealed class DelimitedValue : DelimitedNode
- Inheritance
-
DelimitedValue
- Inherited Members
- Extension Methods
Constructors
DelimitedValue(string)
Initializes a new instance of the DelimitedValue class with the supplied value.
public DelimitedValue(string value)
Parameters
valuestringThe string value.
Exceptions
- ArgumentNullException
Thrown when
valueis null.
Properties
Value
Gets or sets the string value.
public string Value { get; set; }
Property Value
Exceptions
- ArgumentNullException
Thrown when the assigned value is null.
ValueKind
Gets the value kind of this node.
public override DelimitedValueKind ValueKind { get; }
Property Value
- DelimitedValueKind
The node's DelimitedValueKind.
Methods
DeepClone()
Creates a deep copy of this node.
public override DelimitedNode DeepClone()
Returns
- DelimitedNode
The cloned node.
WriteTo(ref Utf8DelimitedWriter)
Writes this node's delimited representation to the supplied writer.
public override void WriteTo(ref Utf8DelimitedWriter writer)
Parameters
writerUtf8DelimitedWriterThe writer that receives the delimited bytes.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |