共用方式為


KeyValueStoreEnumerator.EnumerateMetadata Method

Definition

Overloads

EnumerateMetadata(String)

Enumerates the local store contents but excludes the data value for all enumerated key-value pairs.

EnumerateMetadata(String, Boolean)

Enumerates the local store contents but excludes the data value for all enumerated key-value pairs.

EnumerateMetadata(String)

Enumerates the local store contents but excludes the data value for all enumerated key-value pairs.

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

Parameters

keyPrefix
String

Specifies an optional prefix filter to apply during enumeration.

Returns

An enumerator over the local store contents.

Applies to

EnumerateMetadata(String, Boolean)

Enumerates the local store contents but excludes the data value for all enumerated key-value pairs.

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

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