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
| Name | Description |
|---|---|
| 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)
- Source:
- Ref{T}.cs
- Source:
- Ref{T}.cs
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.