UpdateInstallationInfoCollection.CopyTo(IUpdateInstallationInfo[], Int32)
Copies the installation information in the collection to a one-dimensional array.
public void CopyTo(
IUpdateInstallationInfo[] array,
Int32 index
);
Public Sub CopyTo( _
ByVal array() As IUpdateInstallationInfo, _
ByVal index As Int32 _
)
Parameters
- array
Array of IUpdateInstallationInfo instances found in the collection. - index
Zero-based index that specifies the location in the array at which to begin adding the installation information.
Return Values
This method has no return values.
Exceptions
Exception type | Condition |
---|---|
System.ArgumentException | Can occur because of either of the following reasons:
|
System.ArgumentNullException | array cannot be null. |
System.ArgumentOutOfRangeException | array cannot be less than zero. |
Requirements
Server | Requires Windows Server 2003 or Windows 2000 Server SP4 and later. |
Namespace | Defined in Microsoft.UpdateServices.Administration. |
Assembly | Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll). |
.NET Framework | Requires .NET Framework 1.1. |