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 所有配對,即使是疏鬆標記法的隱含值,也會傳回,且隱含值具有預設值,如適當。 如果保留, false 則只會傳回明確定義的值。

傳回

索引/值組。

適用於