在派生类中重写后,返回给定控件的属性名称的集合。
命名空间:  Microsoft.VisualStudio.TestTools.UITesting
程序集:  Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
语法
声明
Public MustOverride Function GetPropertyNames ( _
    uiTestControl As UITestControl _
) As ICollection(Of String)
public abstract ICollection<string> GetPropertyNames(
    UITestControl uiTestControl
)
public:
virtual ICollection<String^>^ GetPropertyNames(
    UITestControl^ uiTestControl
) abstract
abstract GetPropertyNames : 
        uiTestControl:UITestControl -> ICollection<string> 
public abstract function GetPropertyNames(
    uiTestControl : UITestControl
) : ICollection<String>
参数
- uiTestControl
 类型:Microsoft.VisualStudio.TestTools.UITesting.UITestControl
 从中获取属性名称的 UITestControl 控件。
返回值
类型:System.Collections.Generic.ICollection<String>
给定控件的属性名称的集合。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。