Hunny Software Library Reference

AddressList.InsertAddressAt Method 

Inserts an address at the specified position.

[Visual Basic]
Public Sub InsertAddressAt( _
   ByVal index As Integer, _
   ByVal address As Address _
)
[C#]
public void InsertAddressAt(
   int index,
   Address address
);

Parameters

index
position in list to insert the Address object (0 <= index <= NumAddresses)
address
Address object to insert

Remarks

Inserting at position 0 inserts the address at the beginning. Inserting at position NumAddresses appends the address to the end.

Exceptions

Exception TypeCondition
ArgumentOutOfRangeExceptionindex is out of range

See Also

AddressList Class | Hunny.Mime Namespace