Edit

Share via


CollectedMeasurement<T>.MatchesTags Method

Definition

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