Class NSActivityInformationListItem
Carrier object for ActivityInformationListItem.
Syntax
Constructors
NSActivityInformationListItem()
Initializes a new instance of the NSActivityInformationListItem class.
Declaration
NSActivityInformationListItem
Methods
GetActivityInformation()
Returns the number of free and busy activities.
Declaration
NSActivitySummary GetActivityInformation()
Returns
Type | Description |
---|---|
NSActivitySummary | The number of free and busy activities. |
Examples
NSActivityInformationListItem thing;
NSActivitySummary activityInformation = thing.GetActivityInformation();
GetDate()
Returns the date that this item is valid for.
Declaration
DateTime GetDate()
Returns
Type | Description |
---|---|
DateTime | The date that this item is valid for. |
Remarks
There is exactly one item per date, ordered by date.
Examples
NSActivityInformationListItem thing;
DateTime date = thing.GetDate();
SetActivityInformation(NSActivitySummary)
Sets the number of free and busy activities.
Declaration
Void SetActivityInformation(NSActivitySummary activityInformation)
Parameters
Type | Name | Description |
---|---|---|
NSActivitySummary | activityInformation | The number of free and busy activities. |
Returns
Type | Description |
---|---|
Void |
Examples
NSActivityInformationListItem thing;
NSActivitySummary activityInformation;
thing.SetActivityInformation(activityInformation);
SetDate(DateTime)
Sets the date that this item is valid for.
Declaration
Void SetDate(DateTime date)
Parameters
Type | Name | Description |
---|---|---|
DateTime | date | The date that this item is valid. |
Returns
Type | Description |
---|---|
Void |
Remarks
There is exactly one item per date, ordered by date.
Examples
NSActivityInformationListItem thing;
DateTime date;
thing.SetDate(date);