UITestPropertyProvider.GetPropertyNames 方法

在派生类中重写后,返回给定控件的属性名称的集合。

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

参数

返回值

类型:System.Collections.Generic.ICollection<String>
给定控件的属性名称的集合。

.NET Framework 安全性

请参见

参考

UITestPropertyProvider 类

Microsoft.VisualStudio.TestTools.UITesting 命名空间

UITestControl