SearchPropertyCollection.CopyTo(SearchProperty[], Int32) SearchPropertyCollection.CopyTo(SearchProperty[], Int32) SearchPropertyCollection.CopyTo(SearchProperty[], Int32) Method

Definition

Copies the collection of objects to a one-dimensional array beginning at the index value specified.

public:
 void CopyTo(cli::array <Microsoft::SqlServer::Management::Smo::SearchProperty ^> ^ array, int index);
public void CopyTo (Microsoft.SqlServer.Management.Smo.SearchProperty[] array, int index);
Public Sub CopyTo (array As SearchProperty(), index As Integer)
Parameters
array
SearchProperty[]

The target array of type SearchProperty to copy to.

index
Int32 Int32 Int32

An Int32 value that specifies the index value in the collection to start copying.

Examples

Using Collections

Applies to