WebTestContext.CopyTo Method
Copies the WebTestContext elements to an array of KeyValuePair<TKey, TValue> objects
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
keyValuePairArray As KeyValuePair(Of String, Object)(), _
index As Integer _
)
public void CopyTo(
KeyValuePair<string, Object>[] keyValuePairArray,
int index
)
public:
virtual void CopyTo(
array<KeyValuePair<String^, Object^>>^ keyValuePairArray,
int index
) sealed
abstract CopyTo :
keyValuePairArray:KeyValuePair<string, Object>[] *
index:int -> unit
override CopyTo :
keyValuePairArray:KeyValuePair<string, Object>[] *
index:int -> unit
public final function CopyTo(
keyValuePairArray : KeyValuePair<String, Object>[],
index : int
)
Parameters
- keyValuePairArray
Type: array<System.Collections.Generic.KeyValuePair<String, Object>[]
The name of the array objects where the copy resides.
- index
Type: System.Int32
The starting index location where the array of objects is copied.
Implements
ICollection<T>.CopyTo(array<T[], Int32)
.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.