BlobBuilder.WriteConstant(Object) Method

Definition

Writes a constant value (see ECMA-335 Partition II section 22.9) at the current position.

C#
public void WriteConstant(object? value);
C#
public void WriteConstant(object value);

Parameters

value
Object

The constant value to write.

Exceptions

value is not of a constant type.

The builder is not writable; it has been linked with another one.

Applies to

Produkt Verzie
.NET Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)