Copies the properties from this collection to an array, starting at a particular index of the array.
[Visual Basic] Public Sub CopyTo( _ ByVal array() As PropertyValueCollection, _ ByVal index As Integer _ ) [C#] public void CopyTo( PropertyValueCollection array, int index ); [C++] public: void CopyTo( PropertyValueCollection* array, int index ); [JScript] public function CopyTo( array : PropertyValueCollection, index : int );
- An array of type PropertyValueCollection that contains this collection's properties.
- The zero-based array index at which to begin copying the properties.
|COMException||An error occurred during the call to the underlying interface.|
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.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