EmailAdapter.Subject Property

Gets or sets the subject of the e-mail message associated with the specified EmailAdapterObject object.

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

Syntax

'Declaration
Property Subject As String
    Get
    Set
'Usage
Dim instance As EmailAdapter
Dim value As String

value = instance.Subject

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

Property Value

Type: System.String

Remarks

Important

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.

Examples

myEmailAdapter.Subject = "Weekly Status Report";

See Also

Reference

EmailAdapter Interface

EmailAdapter Members

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace