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 a list of 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 GetAllMatchingTags ( _
region As String, _
tags As Tag() _
) As List(Of KeyValuePair(Of String, Object))
'Usage
Dim instance As Cache
Dim region As String
Dim tags As Tag()
Dim returnValue As List(Of KeyValuePair(Of String, Object))
returnValue = instance.GetAllMatchingTags(region, tags)
public List<KeyValuePair<string,Object>> GetAllMatchingTags (
string region,
Tag[] tags
)
public:
List<KeyValuePair<String^, Object^>>^ GetAllMatchingTags (
String^ region,
array<Tag^>^ tags
)
public List<KeyValuePair<String,Object>> GetAllMatchingTags (
String region,
Tag[] tags
)
public function GetAllMatchingTags (
region : String,
tags : Tag[]
) : List<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
A list of 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 list have all the tags listed in the tags array parameter. If you want the list to also include those objects that only have some of the tags listed in the tags array parameter, use GetAnyMatchingTag.
Tags are supported only for objects stored in regions.