MailAddressCollection::SetItem Method (Int32, MailAddress^)
.NET Framework (current version)
Replaces the element at the specified index.
Assembly: System (in System.dll)
Parameters
- index
-
Type:
System::Int32
The index of the e-mail address element to be replaced.
- item
-
Type:
System.Net.Mail::MailAddress^
An e-mail address that will replace the element in the collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | The item parameter is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: