Chili.Opf3 Send comments on this topic.
CopyTo Method
See Also 
Chili.Opf3.DynamicProperties Namespace > DynamicPropertiesCollection Class : CopyTo Method




array
Array that is populated with data from the container.
arrayIndex
Index where to start.
Copies the elements of the container to an array, starting at a particular index.

Syntax

Visual Basic (Declaration) 
Public Sub CopyTo( _
   ByVal array() As DynamicProperty, _
   ByVal arrayIndex As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As DynamicPropertiesCollection
Dim array() As DynamicProperty
Dim arrayIndex As Integer
 
instance.CopyTo(array, arrayIndex)
C# 
public void CopyTo( 
   DynamicProperty[] array,
   int arrayIndex
)
Managed Extensions for C++ 
public: void CopyTo( 
   DynamicProperty*[]* array,
   int arrayIndex
) 
C++/CLI 
public:
void CopyTo( 
   array<DynamicProperty^>^ array,
   int arrayIndex
) 

Parameters

array
Array that is populated with data from the container.
arrayIndex
Index where to start.

Exceptions

ExceptionDescription
ArgumentNullExceptionArray is null.
ArgumentExceptionArray is multidimensional, array does not have zero-based indexing, the number of elements in the source is greater than the number of elements that the destination array can contain or type T cannot be cast automatically to the type of the destination array.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also