System.Net.Mail.AttachmentCollection.SetItem Method

Replaces the System.Net.Mail.Attachment element at the specified location in the collection with the new System.Net.Mail.Attachment object.

Syntax

protected override void SetItem (int index, Attachment item)

Parameters

index
The index of the element in this collection to be replaced.
item
The System.Net.Mail.Attachment object to replace the specified element in the collection.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0