VBuffer<T>.Length Field


The logical length of the buffer.

public readonly int Length;
val mutable Length : int
Public ReadOnly Length As Integer 

Field Value



Note that if this vector IsDense, then this will be the same as the Length as returned from GetValues(), since all values are explicitly represented in a dense representation. If this is a sparse representation, then that Length will be somewhat shorter, as this field contains the number of both explicit and implicit entries.

Applies to