LoadTestUserContext.Keys 属性

获取一个 ICollection,其中包含 LoadTestUserContext 元素的键。

命名空间:  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>

属性值

类型:ICollection<String>
一个泛型 ICollection,其中包含 LoadTestUserContext 的键。

实现

IDictionary.Keys

备注

未指定返回的泛型 ICollection 中键的顺序,但可以保证与 Values 属性返回的泛型 ICollection 中相应的值的顺序相同。

.NET Framework 安全性

请参阅

参考

LoadTestUserContext 类

Microsoft.VisualStudio.TestTools.LoadTesting 命名空间