Copies the collection to an array of document data objects starting at the specified index.
Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
声明
Public Sub CopyTo ( _
    array As DocData(), _
    index As Integer _
)
用法
Dim instance As RelatedDocDataCollection
Dim array As DocData()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
    DocData[] array,
    int index
)
public:
void CopyTo(
    array<DocData^>^ array, 
    int index
)
member CopyTo : 
        array:DocData[] * 
        index:int -> unit 
public function CopyTo(
    array : DocData[], 
    index : int
)
Parameters
- array
Type: array<Microsoft.VisualStudio.Shell.Design.Serialization.DocData[]
The target array. 
- index
Type: System.Int32
The index of the array at which to begin copying. 
.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.
 
See Also
Reference
RelatedDocDataCollection Class