Memory2D<T>.TryGetMemory(Memory<T>) Method
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.
Tries to get a Memory<T> instance, if the underlying buffer is contiguous and small enough.
public bool TryGetMemory (out Memory<T> memory);
member this.TryGetMemory : Memory -> bool
Public Function TryGetMemory (ByRef memory As Memory(Of T)) As Boolean
Parameters
Returns
Whether or not memory
was correctly assigned.