PropertyExpressionCollection.CopyTo Method

Copies the provided array of property expressions, starting at the specified index into the collection.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    expressionArray As PropertyExpression(), _
    arrayIndex As Integer _
)
public void CopyTo(
    PropertyExpression[] expressionArray,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<PropertyExpression^>^ expressionArray, 
    int arrayIndex
) sealed
abstract CopyTo : 
        expressionArray:PropertyExpression[] * 
        arrayIndex:int -> unit  
override CopyTo : 
        expressionArray:PropertyExpression[] * 
        arrayIndex:int -> unit
public final function CopyTo(
    expressionArray : PropertyExpression[], 
    arrayIndex : int
)

Parameters

  • arrayIndex
    Type: Int32

    An int that represents the starting index for copying the objects from the array.

Implements

ICollection.CopyTo(UTP, Int32)

.NET Framework Security

See Also

Reference

PropertyExpressionCollection Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

PropertyExpression