TestMetadataProperty Class
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.
Property that represents a generic test metadata property in the shape of a key-value pair associated with a TestNode.
public sealed class TestMetadataProperty : IEquatable<Microsoft.Testing.Platform.Extensions.Messages.TestMetadataProperty>, Microsoft.Testing.Platform.Extensions.Messages.IProperty
type TestMetadataProperty = class
interface IProperty
interface IEquatable<TestMetadataProperty>
Public NotInheritable Class TestMetadataProperty
Implements IEquatable(Of TestMetadataProperty), IProperty
- Inheritance
-
TestMetadataProperty
- Implements
Constructors
| Name | Description |
|---|---|
| TestMetadataProperty(String, String) |
Initializes a new instance of the TestMetadataProperty class with a key and value. |
| TestMetadataProperty(String) |
Initializes a new instance of the TestMetadataProperty class with a key and an empty value. |
Properties
| Name | Description |
|---|---|
| Key |
Gets the metadata key. |
| Value |
Gets the metadata value. |
Methods
| Name | Description |
|---|---|
| <Clone>$() | |
| Deconstruct(String, String) | |
| Equals(Object) | Determines whether the specified object is equal to the current object. |
| Equals(TestMetadataProperty) | Indicates whether the current object is equal to another object of the same type. |
| GetHashCode() | Serves as the default hash function. |
| ToString() | Returns a string that represents the current object. |
Operators
| Name | Description |
|---|---|
| Equality(TestMetadataProperty, TestMetadataProperty) | |
| Inequality(TestMetadataProperty, TestMetadataProperty) | |