Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets an enumerator of all cached objects in the specified region that have the specified tag.
Namespace: System.Data.Caching
Assembly: ClientLibrary (in clientlibrary.dll)
Syntax
'Declaration
Public Function GetEnumerator ( _
region As String, _
tag As Tag _
) As IEnumerator(Of KeyValuePair(Of String, Object))
'Usage
Dim instance As Cache
Dim region As String
Dim tag As Tag
Dim returnValue As IEnumerator(Of KeyValuePair(Of String, Object))
returnValue = instance.GetEnumerator(region, tag)
public IEnumerator<KeyValuePair<string,Object>> GetEnumerator (
string region,
Tag tag
)
public:
IEnumerator<KeyValuePair<String^, Object^>>^ GetEnumerator (
String^ region,
Tag^ tag
)
public IEnumerator<KeyValuePair<String,Object>> GetEnumerator (
String region,
Tag tag
)
public function GetEnumerator (
region : String,
tag : Tag
) : IEnumerator<KeyValuePair<String,Object>>
Parameters
- region
The name of the region to search.
- tag
The tag for which to search.
Return Value
An enumerator of all cached objects in the specified region that have the specified tag.
Remarks
Tags are supported only for objects stored in regions.