Partager via


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

See Also

Reference

UITestControlCollection Class

Microsoft.VisualStudio.TestTools.UITesting Namespace