UITestControlCollection.GetPropertyValuesOfControls<T> Method
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assemblies: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
Public Function GetPropertyValuesOfControls(Of T) ( _
propertyName As String _
) As T()
public T[] GetPropertyValuesOfControls<T>(
string propertyName
)
public:
generic<typename T>
array<T>^ GetPropertyValuesOfControls(
String^ propertyName
)
member GetPropertyValuesOfControls :
propertyName:string -> 'T[]
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- propertyName
Type: String
Return Value
Type: array<T[]
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.