CalendarItemType.Duration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Duration property gets or sets a string value that represents the duration of a calendar item.
public:
property System::String ^ Duration { System::String ^ get(); void set(System::String ^ value); };
public string Duration { get; set; }
Public Property Duration As String
Property Value
The Duration property returns a string value that represents the duration of a calendar item.
Remarks
The UpdateItem(UpdateItemType) method can set the Start and End time of an Exchange store item. In an UpdateItem(UpdateItemType) 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.