Share via


_AppointmentItem.Duration Property

Returns or sets an Integer (int in C#) value indicating the duration (in minutes) of the AppointmentItem. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property Duration As Integer
    Get
    Set
'Usage
Dim instance As _AppointmentItem
Dim value As Integer

value = instance.Duration

instance.Duration = value
[DispIdAttribute()]
int Duration { get; set; }

Property Value

Type: System.Int32

See Also

Reference

_AppointmentItem Interface

_AppointmentItem Members

Microsoft.Office.Interop.Outlook Namespace