Share via


_TaskItem.SendUsingAccount Property

Returns or sets an Account object that represents the account under which the TaskItem 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
Property SendUsingAccount As Account
    Get
    Set
'Usage
Dim instance As _TaskItem
Dim value As Account

value = instance.SendUsingAccount

instance.SendUsingAccount = value
Account SendUsingAccount { get; set; }

Property Value

Type: Microsoft.Office.Interop.Outlook.Account

Remarks

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

See Also

Reference

_TaskItem Interface

_TaskItem Members

Microsoft.Office.Interop.Outlook Namespace