CollectedMeasurement<T>.MatchesTags Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MatchesTags(KeyValuePair<String,Object>[]) |
Checks that the measurement has an exactly matching set of tags with specific values. |
MatchesTags(String[]) |
Checks that the measurement has a exactly matching set of tags with any value. |
MatchesTags(KeyValuePair<String,Object>[])
- Source:
- CollectedMeasurement.cs
- Source:
- CollectedMeasurement.cs
- Source:
- CollectedMeasurement.cs
Checks that the measurement has an exactly matching set of tags with specific values.
public:
bool MatchesTags(... cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ tags);
public bool MatchesTags (params System.Collections.Generic.KeyValuePair<string,object>[] tags);
member this.MatchesTags : System.Collections.Generic.KeyValuePair<string, obj>[] -> bool
Public Function MatchesTags (ParamArray tags As KeyValuePair(Of String, Object)()) As Boolean
Parameters
- tags
- KeyValuePair<String,Object>[]
The set of tags to check.
Returns
true
if all the tags exist in the measurement with matching values, otherwise false
.
Applies to
MatchesTags(String[])
- Source:
- CollectedMeasurement.cs
- Source:
- CollectedMeasurement.cs
- Source:
- CollectedMeasurement.cs
Checks that the measurement has a exactly matching set of tags with any value.
public:
bool MatchesTags(... cli::array <System::String ^> ^ tags);
public bool MatchesTags (params string[] tags);
member this.MatchesTags : string[] -> bool
Public Function MatchesTags (ParamArray tags As String()) As Boolean
Parameters
- tags
- String[]
The set of tag names to check.
Returns
true
if all the tag names exist in the measurement, otherwise false
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for