次の方法で共有


_CalendarSharing.IncludeWholeCalendar Property

Returns or sets a Boolean (bool in C#) value that indicates whether all calendar items in the folder 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 IncludeWholeCalendar As Boolean
    Get
    Set
'Usage
Dim instance As _CalendarSharing
Dim value As Boolean

value = instance.IncludeWholeCalendar

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

Property Value

Type: System.Boolean

Remarks

True indicates that all calendar items in the folder should be included.

If this property is set to True, the StartDate and EndDate properties of the CalendarSharing object are ignored and all calendar items in the folder are included.

If this property is set to False, the StartDate and EndDate properties determine the range of calendar items to be included.

See Also

Reference

_CalendarSharing Interface

_CalendarSharing Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Save a Calendar to Disk