CollectedMeasurement<T>.ContainsTags 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
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
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