Partager via


_MobileItem.SendUsingAccount Property

Returns or sets an Account object that represents the account under which the MobileItem object is to be sent. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Property SendUsingAccount As Account
    Get
    Set
'Usage
Dim instance As _MobileItem
Dim value As Account

value = instance.SendUsingAccount

instance.SendUsingAccount = value
[DispIdAttribute()]
Account SendUsingAccount { get; set; }

Property Value

Type: Microsoft.Office.Interop.Outlook.Account

Remarks

Use the SendUsingAccount property to specify the account that should be used to send the MobileItem object when the Send(Boolean) method is called. This property returns Nothing (a null reference (Nothing in Visual Basic) in C#) if the account specified for the MobileItem no longer exists.

The account type for sending a MobileItem object is always olOtherAccount.

See Also

Reference

_MobileItem Interface

_MobileItem Members

Microsoft.Office.Interop.Outlook Namespace