MemoryManager<T>.TryGetArray(ArraySegment<T>) Metodo

Definizione

Restituisce un segmento di matrice.

protected public:
 virtual bool TryGetArray([Runtime::InteropServices::Out] ArraySegment<T> % segment);
protected internal virtual bool TryGetArray (out ArraySegment<T> segment);
abstract member TryGetArray : ArraySegment -> bool
override this.TryGetArray : ArraySegment -> bool
Protected Friend Overridable Function TryGetArray (ByRef segment As ArraySegment(Of T)) As Boolean

Parametri

segment
ArraySegment<T>

Segmento di matrice in cui effettuare la scrittura.

Restituisce

true se il metodo ha recuperato il segmento di matrice; in caso contrario false.

Commenti

Se questo metodo non viene sottoposto a override, restituisce il segmento di matrice predefinito.

Si applica a