Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Copies the smart tags in the SmartTagCollection to a one-dimensional array of smart tags, starting at a specified index.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Sub CopyTo ( _
array As SmartTagBase(), _
index As Integer _
)
void CopyTo(
SmartTagBase[] array,
int index
)
Parameters
- array
Type: array<Microsoft.Office.Tools.SmartTagBase[]
The destination of the smart tags copied from the collection.
- index
Type: System.Int32
The index of the array at which to begin copying.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The destination array is multidimensional, or the number of elements in the SmartTagCollection is greater than the available space between the index of the target array specified by the index parameter and the end of the target array. |
ArgumentNullException | The array parameter is nulla null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | The index parameter is less than the target array's minimum index. |
.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.