Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MailAddressCollection::InsertItem Method (Int32, MailAddress^)

 

Inserts an e-mail address into the MailAddressCollection, at the specified location.

Namespace:   System.Net.Mail
Assembly:  System (in System.dll)

protected:
virtual void InsertItem(
	int index,
	MailAddress^ item
) override

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
Return to top
Show:
© 2017 Microsoft