TestFilterContext.Traits 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
獲得或設定與此測試相關的特質。 多個特徵可以共用同一把鑰匙;因此,消費者不應假設該收藏會像字典一樣運作。 預設為空清單。
[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))
屬性值
- 屬性