Edit

Share via


CollectedMeasurement<T>.ContainsTags Method

Definition

Overloads

ContainsTags(KeyValuePair<String,Object>[])

Checks that the measurement includes a specific set of tags with specific values.

ContainsTags(String[])

Checks that the measurement includes a specific set of tags with any value.

ContainsTags(KeyValuePair<String,Object>[])

Source:
CollectedMeasurement.cs
Source:
CollectedMeasurement.cs
Source:
CollectedMeasurement.cs

Checks that the measurement includes a specific set of tags with specific values.

public:
 bool ContainsTags(... cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ tags);
public bool ContainsTags (params System.Collections.Generic.KeyValuePair<string,object>[] tags);
member this.ContainsTags : System.Collections.Generic.KeyValuePair<string, obj>[] -> bool
Public Function ContainsTags (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

ContainsTags(String[])

Source:
CollectedMeasurement.cs
Source:
CollectedMeasurement.cs
Source:
CollectedMeasurement.cs

Checks that the measurement includes a specific set of tags with any value.

public:
 bool ContainsTags(... cli::array <System::String ^> ^ tags);
public bool ContainsTags (params string[] tags);
member this.ContainsTags : string[] -> bool
Public Function ContainsTags (ParamArray tags As String()) As Boolean

Parameters

tags
String[]

The set of tag names to check.

Returns

true if all the tags exist in the measurement, otherwise false.

Applies to