語言

VBuffer<T>.Items(Boolean) 方法

定義

回傳所有索引/值對的聯合清單。

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))

參數

all
Boolean

若所有 true 對,甚至是稀疏表示的隱含值,都會回傳,隱含值為預設值,這符合適當條件。 若為 left false ,則僅回傳明確定義的值。

傳回

指數/值對。

適用於