MailAddressCollection::InsertItem Method (Int32, MailAddress^)
.NET Framework (current version)
Inserts an e-mail address into the MailAddressCollection, at the specified location.
Assembly: System (in System.dll)
Parameters
- index
-
Type:
System::Int32
The location at which to insert the e-mail address that is specified by item.
- item
-
Type:
System.Net.Mail::MailAddress^
The e-mail address to be inserted into the collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | The item parameter is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: