PowerTCP Mail for .NET
Add(Object) Method
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > MimeAttachmentStreams Class > Add Method : Add(Object) Method




mustBeMimeAttachmentStream
The object to add to the collection.
Add an object which can be cast to an MimeAttachmentStream to the end of the MimeAttachmentStreams collection.

Syntax

Visual Basic (Declaration) 
Public Overloads Overrides Function Add( _
   ByVal mustBeMimeAttachmentStream As Object _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As MimeAttachmentStreams
Dim mustBeMimeAttachmentStream As Object
Dim value As Integer
 
value = instance.Add(mustBeMimeAttachmentStream)
C# 
public override int Add( 
   object mustBeMimeAttachmentStream
)
Managed Extensions for C++ 
public: int Add( 
   Object* mustBeMimeAttachmentStream
) override 
C++/CLI 
public:
int Add( 
   Object^ mustBeMimeAttachmentStream
) override 

Parameters

mustBeMimeAttachmentStream
The object to add to the collection.

Return Value

The index at which the part was added.

Exceptions

ExceptionDescription
Dart.PowerTCP.Mail.InvalidParameterTypeExceptionmustBeMimeAttachmentStream cannot be cast to an MimeAttachmentStream.

Remarks

Use this method to add an object which can be cast to an MimeAttachmentStream to the MimeAttachmentStreams collection.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.