ReadOnlyRef<T> Struct
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.
A struct that can store a readonly reference to a value of a specified type.
public readonly ref struct ReadOnlyRef<T>
type ReadOnlyRef<'T> = struct
Public Structure ReadOnlyRef(Of T)
Type Parameters
- T
The type of value to reference.
- Inheritance
-
ReadOnlyRef<T>
Constructors
| ReadOnlyRef<T>(Object, T) | |
| ReadOnlyRef<T>(T) |
Initializes a new instance of the ReadOnlyRef<T> struct. |
| ReadOnlyRef<T>(Void*) |
Initializes a new instance of the ReadOnlyRef<T> struct. |
Properties
| Value |
Gets the readonly |
Operators
| Implicit(ReadOnlyRef<T> to T) |
Implicitly gets the |
| Implicit(Ref<T> to ReadOnlyRef<T>) | |