Scalien.Table.GetKeyValueIterator C# (CSharp) Method

GetKeyValueIterator() public method

Return an iterator that will return keys and values as a System.Collections.Generic.KeyValuePair{T, T}.
public GetKeyValueIterator ( ByteRangeParams ps ) : ByteKeyValueIterator
ps ByteRangeParams The parameters of iteration, as a .
return ByteKeyValueIterator
        public virtual ByteKeyValueIterator GetKeyValueIterator(ByteRangeParams ps)
        {
            return new ByteKeyValueIterator(this, ps);
        }

Same methods

Table::GetKeyValueIterator ( StringRangeParams ps ) : StringKeyValueIterator

Usage Example

Beispiel #1
0
 public void PrintByNick(string prefix)
 {
     foreach (KeyValuePair <string, string> kv in tableByNick.GetKeyValueIterator(new StringRangeParams().Prefix(prefix)))
     {
         System.Console.WriteLine(kv.Key + " => " + kv.Value);
     }
 }
All Usage Examples Of Scalien.Table::GetKeyValueIterator