VBuffer<T>.Items(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳所有索引/值對的聯合清單。
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 ,則僅回傳明確定義的值。
傳回
指數/值對。