Share via


KeyValueStoreEnumerator.Enumerate Method

Definition

Overloads

Enumerate(String)

Enumerates the local store contents and includes the data value for all enumerated key-value pairs.

Enumerate(String, Boolean)

Enumerates the local store contents and includes the data value for all enumerated key-value pairs.

Enumerate(String)

Enumerates the local store contents and includes the data value for all enumerated key-value pairs.

public System.Collections.Generic.IEnumerator<System.Fabric.KeyValueStoreItem> Enumerate (string keyPrefix);
member this.Enumerate : string -> System.Collections.Generic.IEnumerator<System.Fabric.KeyValueStoreItem>
Public Function Enumerate (keyPrefix As String) As IEnumerator(Of KeyValueStoreItem)

Parameters

keyPrefix
String

Specifies an optional key-prefix filter to apply during enumeration.

Returns

An enumerator over the local store contents.

Applies to

Enumerate(String, Boolean)

Enumerates the local store contents and includes the data value for all enumerated key-value pairs.

public System.Collections.Generic.IEnumerator<System.Fabric.KeyValueStoreItem> Enumerate (string keyPrefix, bool strictPrefix);
member this.Enumerate : string * bool -> System.Collections.Generic.IEnumerator<System.Fabric.KeyValueStoreItem>
Public Function Enumerate (keyPrefix As String, strictPrefix As Boolean) As IEnumerator(Of KeyValueStoreItem)

Parameters

keyPrefix
String

Specifies an optional key-prefix filter to apply during enumeration.

strictPrefix
Boolean

When true, only keys prefixed by the value specified for keyPrefix are returned. Otherwise, enumeration starts at the first key matching or lexicographically greater than keyPrefix and continues until there are no more keys. The default is true.

Returns

An enumerator over the local store contents.

Applies to