你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MemorySpanResizer<T>.Resize(Int32, Span<T>) 方法

定义

public Span<T> Resize (int minimumLength, Span<T> buffer = default);
abstract member Resize : int * Span<'T> -> Span<'T>
override this.Resize : int * Span<'T> -> Span<'T>
Public Function Resize (minimumLength As Integer, Optional buffer As Span(Of T) = Nothing) As Span(Of T)

参数

minimumLength
Int32
buffer
Span<T>

返回

Span<T>

实现

适用于