次の方法で共有


_SharingItem.SendUsingAccount Property

Returns or sets an Account object that represents the account under which the SharingItem 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 _SharingItem
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 SharingItem when the Send method is called. This property returns Nothing (a null reference (Nothing in Visual Basic) in C#) if the SharingItem is a received item, or if the account specified for the SharingItem no longer exists.

This property is read-only if the SharingItem is a received item, or if the SharingItem has already been sent (the Sent property of the object is set to True.)

See Also

Reference

_SharingItem Interface

_SharingItem Members

Microsoft.Office.Interop.Outlook Namespace