LoadTestContext.Keys 屬性

取得 ICollection<T>,其中包含 LoadTestContext 項目的索引鍵。

命名空間:  Microsoft.VisualStudio.TestTools.LoadTesting
組件:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (在 Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll 中)

語法

'宣告
Public ReadOnly Property Keys As ICollection(Of String)
public ICollection<string> Keys { get; }
public:
virtual property ICollection<String^>^ Keys {
    ICollection<String^>^ get () sealed;
}
abstract Keys : ICollection<string> with get
override Keys : ICollection<string> with get
final function get Keys () : ICollection<String>

屬性值

型別:System.Collections.Generic.ICollection<String>
泛型 ICollection<T>,其中包含 LoadTestContext 的索引鍵。

實作

IDictionary<TKey, TValue>.Keys

備註

傳回之泛型 ICollection<T> 的索引鍵順序並未指定,但此順序必定與 Values 屬性所傳回之泛型 ICollection<T> 的對應值順序相同。

.NET Framework 安全性

請參閱

參考

LoadTestContext 類別

Microsoft.VisualStudio.TestTools.LoadTesting 命名空間