| Visual Basic (Declaration) | |
|---|---|
Public Overloads Function Reply( _ ByVal all As Boolean, _ ByVal text As String, _ ByVal prompt As String _ ) As MessageStream | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As MessageStream Dim all As Boolean Dim text As String Dim prompt As String Dim value As MessageStream value = instance.Reply(all, text, prompt) | |
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.
- prompt
- Specifies a string to add to the beginning of each CRLF delimited line.
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.
This method changes the original message by removing any attachments and adding a new text part.
Target Platforms: Microsoft .NET Framework 2.0