Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- Destination
- The destination object.
Exception | Description |
---|---|
System.ArgumentException | Thrown when the destination object does not support being copied to. |
Not all object types are valid destinations for this method. Refer to the documentation of a particular class to see if it officially supports being the destination of a CopyTo method.