Ref<T> Struct

Definition

A struct that can store a reference to a value of a specified type.

public readonly ref struct Ref<T>
type Ref<'T> = struct
Public Structure Ref(Of T)

Type Parameters

T

The type of value to reference.

Inheritance
Ref<T>

Constructors

Ref<T>(Object, T)
Ref<T>(T)

Initializes a new instance of the Ref<T> struct.

Ref<T>(Void*)

Initializes a new instance of the Ref<T> struct.

Properties

Value

Gets the T reference represented by the current Ref<T> instance.

Operators

Implicit(Ref<T> to T)

Implicitly gets the T value from a given Ref<T> instance.

Applies to