NullableRef<T> Struct
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 an optional reference to a value of a specified type.
public readonly ref struct NullableRef<T>
type NullableRef<'T> = struct
Public Structure NullableRef(Of T)
- T
The type of value to reference.
- Inheritance
-
NullableRef<T>
Nullable |
Initializes a new instance of the NullableRef<T> struct. |
Has |
Gets a value indicating whether or not the current NullableRef<T> instance wraps a valid reference that can be accessed. |
Null |
Gets a NullableRef<T> instance representing a |
Value |
Gets the |
Explicit(Nullable |
Explicitly gets the |
Implicit(Ref<T> to Nullable |
Производ | Верзије |
---|---|
Windows Community Toolkit | 7.0.0, 7.1.0 |