Copies the elements of the privacy list to the specified array, starting
at the specified index.
Namespace: S22.Xmpp.ImAssembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public void CopyTo( PrivacyRule[] array, int arrayIndex ) |
Parameters
- array
- Type: array<S22.Xmpp.Im..::..PrivacyRule>[]()[][]
The one-dimensional System.Array that is the destination of the elements copied from the privacy list.
- arrayIndex
- Type: System..::..Int32
The zero-based index in array at which copying begins.
Implements
ICollection<(Of <(<'T>)>)>..::..CopyTo(array<T>[]()[][], Int32)Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The array parameter is null. |
System..::..ArgumentOutOfRangeException | The arrayIndex parameter is less than 0. |
System..::..ArgumentException | The number of elements in the source collection is greater than the available space from arrayIndex to the end of the destination array. |