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 for all cached objects in the specified region that have all the same tags in common.
Namespace: System.Data.Caching
Assembly: ClientLibrary (in clientlibrary.dll)
Syntax
'Declaration
Public Function GetAllEnumerator ( _
region As String, _
tags As Tag() _
) As IEnumerator(Of KeyValuePair(Of String, Object))
'Usage
Dim instance As Cache
Dim region As String
Dim tags As Tag()
Dim returnValue As IEnumerator(Of KeyValuePair(Of String, Object))
returnValue = instance.GetAllEnumerator(region, tags)
public IEnumerator<KeyValuePair<string,Object>> GetAllEnumerator (
string region,
Tag[] tags
)
public:
IEnumerator<KeyValuePair<String^, Object^>>^ GetAllEnumerator (
String^ region,
array<Tag^>^ tags
)
public IEnumerator<KeyValuePair<String,Object>> GetAllEnumerator (
String region,
Tag[] tags
)
public function GetAllEnumerator (
region : String,
tags : Tag[]
) : IEnumerator<KeyValuePair<String,Object>>
Parameters
- region
The name of the region to search. Tags are not supported outside regions. Therefore, a region name is required.
- tags
An array of tags for which to search.
Return Value
An enumerator for all cached objects in the specified region that have all the same tags in common. Null is returned if no objects in the specified region have all the tags specified.
Remarks
Cached objects returned in the enumerator have all the tags listed in the tags array parameter. If you want the enumerator to also include those objects that only have some of the tags listed in the tags array parameter, use GetAnyEnumerator.
Tags are supported only for objects stored in regions.