Ref<T> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Ref<T>(Void*) |
Initializes a new instance of the Ref<T> struct. |
Ref<T>(T) |
Initializes a new instance of the Ref<T> struct. |
Ref<T>(Object, T) |
Ref<T>(Void*)
Ref<T>(T)
Initializes a new instance of the Ref<T> struct.
public Ref (ref T value);
new Microsoft.Toolkit.HighPerformance.Ref<'T> : 'T -> Microsoft.Toolkit.HighPerformance.Ref<'T>
Public Sub New (ByRef value As T)
Parameters
- value
- T
The reference to the target T
value.
Applies to
Ref<T>(Object, T)
public Ref (object owner, ref T value);
new Microsoft.Toolkit.HighPerformance.Ref<'T> : obj * 'T -> Microsoft.Toolkit.HighPerformance.Ref<'T>
Public Sub New (owner As Object, ByRef value As T)
Parameters
- owner
- Object
- value
- T