Partager via


_AppointmentItem.SendUsingAccount Property

Returns or sets an Account object that represents the account under which the AppointmentItem 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 _AppointmentItem
Dim value As Account

value = instance.SendUsingAccount

instance.SendUsingAccount = value
[DispIdAttribute()]
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 AppointmentItem 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 AppointmentItem no longer exists.

See Also

Reference

_AppointmentItem Interface

_AppointmentItem Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Create a Sendable Item for a Specific Account Based on the Current Folder