Dela via


VBuffer<T>.Items(Boolean) Method

Definition

Returns the joint list of all index/value pairs.

public System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<int,T>> Items (bool all = false);
member this.Items : bool -> seq<System.Collections.Generic.KeyValuePair<int, 'T>>
Public Function Items (Optional all As Boolean = false) As IEnumerable(Of KeyValuePair(Of Integer, T))

Parameters

all
Boolean

If true all pairs, even those implicit values of a sparse representation, will be returned, with the implicit values having the default value, as is appropriate. If left false then only explicitly defined values are returned.

Returns

The index/value pairs.

Applies to