| Visual Basic (Declaration) | |
|---|---|
Public Overloads Function Reply( _ ByVal all As Boolean, _ ByVal text As String _ ) As MessageStream | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As MessageStream Dim all As Boolean Dim text As String Dim value As MessageStream value = instance.Reply(all, text) | |
| C# | |
|---|---|
public MessageStream Reply( bool all, string text ) | |
| Managed Extensions for C++ | |
|---|---|
public: MessageStream* Reply( bool all, string* text ) | |
| C++/CLI | |
|---|---|
public: MessageStream^ Reply( bool all, String^ text ) | |
Parameters
- all
- Specifies if the reply should be for the original sender, or all recipients in the header.
- text
- The new text for the reply message.
Return Value
A MessageStream object formatted for a reply message.This method creates a new part initialized with the text of the message. Note that the MessageStream object is not aware of who the current user is, so if all is set, the current user’s address should be removed from MessageStream.To. "RE:" will automatically be prepended to the subject line. A ">" will automatically be added to the beginning of each CRLF delimited line.
This method changes the original message by removing any attachments and adding a new text part.
Target Platforms: Microsoft .NET Framework 2.0