TestFilterContext.Traits Property
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.
Gets or sets the traits attached to this test. Multiple traits can share the same key; consumers must therefore not assume the collection behaves like a dictionary. Defaults to an empty list.
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 1, 0, 1, 2 })]
public System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string,string?>> Traits { get; set; }
public System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string,string?>> Traits { get; set; }
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 1, 0, 1, 2 })>]
member this.Traits : System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string, string>> with get, set
member this.Traits : System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string, string>> with get, set
Public Property Traits As IReadOnlyList(Of KeyValuePair(Of String, String))
Property Value
- Attributes