Share via


MailEnvelope.Subject property

Gets or sets the subject of the e-mail message.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustOverride Property Subject As String
    Get
    Set
'Usage
Dim instance As MailEnvelope
Dim value As String

value = instance.Subject

instance.Subject = value
public abstract string Subject { get; set; }

Property value

Type: System.String
The subject of the e-mail message.

Remarks

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

See also

Reference

MailEnvelope class

MailEnvelope members

Microsoft.Office.InfoPath namespace