| ActionCollection.CopyTo Method | Language: | 
      
      
      Copies the collection or a portion of it to a one-dimensional array.
      Definition
      
        
          
            | Visual Basic | Public Sub CopyTo( _ ByVal data As Array, _
 ByVal index As Integer _
 )
 | 
          
            | C# | public void  CopyTo( Array data,
 int index
 );
 | 
          
            | C++ | public: void CopyTo(
 Array^ data,
 int index
 );
 | 
          
            | JScript | public function CopyTo( data : Array,
 index : int
 );
 | 
        
      
      Parameters
      
        
      
      
      Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
      
        
          Feedback? Please provide us with your comments on this topic.
			
        
        
	   		For more help, visit the DirectX Developer Center