WasmHostReference Class

A host reference: a value of the host given to WebAssembly (an externref).

public sealed class WasmHostReference

Constructors

NameDescription
WasmHostReference(object)A host reference: a value of the host given to WebAssembly (an externref).

WasmHostReference(object)

WasmValue.cs

A host reference: a value of the host given to WebAssembly (an externref).

public WasmHostReference(object value)

Parameters

value object
The value of the host.

Properties

NameDescription
ValueGets the value of the host.

Gets the value of the host.

public object Value { get; }

Property value

object

Methods

NameDescription
ToString()Returns a string that represents the current object.

ToString()

WasmValue.cs

Returns a string that represents the current object.

public override string? ToString()

Returns

string? A string that represents the current object.