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
)
public function CopyTo(
array : DocData[],
index : int
)
Parameters
array
Type: []The target array.
index
Type: System.Int32The index of the array at which to begin copying.
Permissions
- 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