WebTestContext.Keys 属性

获取 WebTestContext 中的所有键的集合。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
Public ReadOnly Property Keys As ICollection(Of String)
    Get
public ICollection<string> Keys { get; }
public:
virtual property ICollection<String^>^ Keys {
    ICollection<String^>^ get () sealed;
}
abstract Keys : ICollection<string>
override Keys : ICollection<string>
final function get Keys () : ICollection<String>

属性值

类型:System.Collections.Generic.ICollection<String>
ICollection 对象,它包含键字符串的集合。

实现

IDictionary<TKey, TValue>.Keys

.NET Framework 安全性

请参见

参考

WebTestContext 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间