Table of Contents

DelimitedValue Class

Definition

Namespace
Bodu.Text.Delimited.Nodes
Assembly
Bodu.Text.Delimited.dll
Package
Bodu.Text.Delimited 1.0.0
Source
DelimitedValue.cs

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

value string

The string value.

Exceptions

ArgumentNullException

Thrown when value is null.

Properties

Value

Gets or sets the string value.

public string Value { get; set; }

Property Value

string

The value; never null.

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

writer Utf8DelimitedWriter

The writer that receives the delimited bytes.

Applies to

ProductVersions
.NET8, 10