CalendarItemType.Duration Property
The Duration property gets or sets a string value that represents the duration of a calendar item.
Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)
Syntax
'Declaration
Public Property Duration As String
public string Duration { get; set; }
public:
property String^ Duration {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_Duration ()
/** @property */
public void set_Duration (String value)
public function get Duration () : String
public function set Duration (value : String)
Property Value
The Duration property returns a string value that represents the duration of a calendar item.
Remarks
The UpdateItem method can set the Start and End time of an Exchange store item. In an UpdateItem request, you can set the Start time without also setting the End time. This can cause an error if the Start time is later than the End time. Client applications must perform adjustments to the End time when the Start time is changed in order to preserve the Duration.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)
See Also
Reference
CalendarItemType Class
CalendarItemType Members
ExchangeWebServices Namespace