Partager via


_CalendarSharing.IncludeAttachments Property

Returns or sets a Boolean (bool in C#) value that indicates whether attachments for calendar items should be included in the iCalendar (.ics) file created by the ForwardAsICal or SaveAsICal methods of the CalendarSharing object. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property IncludeAttachments As Boolean
    Get
    Set
'Usage
Dim instance As _CalendarSharing
Dim value As Boolean

value = instance.IncludeAttachments

instance.IncludeAttachments = value
[DispIdAttribute()]
bool IncludeAttachments { get; set; }

Property Value

Type: System.Boolean

Remarks

True indicates that the attachments for calendar items should be included.

This property must be set to False if the CalendarDetail property of the CalendarSharing object is set to olFreeBusyOnly or olFreeBusyAndSubject.

See Also

Reference

_CalendarSharing Interface

_CalendarSharing Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Share Calendar Information Through E-Mail

How to: Save a Calendar to Disk