UITestControlCollection.GetPropertyValuesOfControls<T> Method
Gets the property values for given property name for all controls in the collection.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.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
Type of value of property.
Parameters
propertyName
Type: StringName of property whose value has to be returned.
Return Value
Type: array<T[]
The array of property values for all controls in the collection.
.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.