Share via


EmailAdapter.Subject property

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

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.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

Examples

myEmailAdapter.Subject = "Weekly Status Report";

See also

Reference

EmailAdapter interface

EmailAdapter members

Microsoft.Office.Interop.InfoPath namespace