FormRegionCustomAction.SubjectPrefix Property
Gets or sets the text that appears at the beginning of the subject line of the reply.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
Syntax
'Declaration
Property SubjectPrefix As String
string SubjectPrefix { get; set; }
Property Value
Type: System.String
A string that represents text that appears at the beginning of the subject line of the original form.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The value is greater than 256 characters in length. |
Remarks
For example, if you set the TargetForm property to IPM.Note, a mail item appears when the user executes the custom action. The text that appears in the Subject field of the new mail item will begin with the string that you specify for the SubjectPrefix property followed by a colon (:).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.