Edytuj

Udostępnij za pośrednictwem


ReadOnlyRef<T> Constructors

Definition

Overloads

ReadOnlyRef<T>(Void*)

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

ReadOnlyRef<T>(T)

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

ReadOnlyRef<T>(Object, T)

ReadOnlyRef<T>(Void*)

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

public ReadOnlyRef (void* pointer);
new Microsoft.Toolkit.HighPerformance.ReadOnlyRef<'T> : nativeptr<unit> -> Microsoft.Toolkit.HighPerformance.ReadOnlyRef<'T>

Parameters

pointer
Void*

The pointer to the target value.

Applies to

ReadOnlyRef<T>(T)

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

public ReadOnlyRef (in T value);
new Microsoft.Toolkit.HighPerformance.ReadOnlyRef<'T> : 'T -> Microsoft.Toolkit.HighPerformance.ReadOnlyRef<'T>
Public Sub New (ByRef value As T)

Parameters

value
T

The readonly reference to the target T value.

Applies to

ReadOnlyRef<T>(Object, T)

public ReadOnlyRef (object owner, in T value);
new Microsoft.Toolkit.HighPerformance.ReadOnlyRef<'T> : obj * 'T -> Microsoft.Toolkit.HighPerformance.ReadOnlyRef<'T>
Public Sub New (owner As Object, ByRef value As T)

Parameters

owner
Object
value
T

Applies to