UpdateSummaryCollection.CopyTo(IUpdateSummary , Int32)
Copies the summary installation information for the updates in the collection to a one-dimensional array.
public void CopyTo(IUpdateSummary[]array,
Int32index);
Public Sub CopyTo( _
ByVal array() As IUpdateSummary, _
ByVal index As Int32 _
)
Parameters
- array
Array of IUpdateSummary instances found in the collection. - index
Zero-based index that specifies the location in the array at which to begin adding the summary information.
Return Value
This method does not return a value.
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. |