Author |
|
Guests Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 11 January 2005 at 11:40am | IP Logged
|
|
|
I'm using C# (.NET) and I am having trouble with the Message component. I have a message with 2 attachments, and I want to remove one of them, however, when I call
NewMessage.Attachments.Remove(0);
It doesn't seem to work at all. How do I remove a single attachment without having to recreate the entire message?
|
Back to Top |
|
|
Guests Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 08 March 2005 at 4:48am | IP Logged
|
|
|
If you read the Object Documentation you will see that the Index of the Attachment Collection wil start at 1 !
|
Back to Top |
|
|