Version

HasPreviousActivity Property

Indicates whether there's an activity before the earliest date in the ActivityQuery.DateRanges of the query. Property's value is valid only if this information was requested by the associated activity query and the information is available.
Syntax
'Declaration
 
Public ReadOnly Property HasPreviousActivity As Nullable(Of Boolean)
public Nullable<bool> HasPreviousActivity {get;}
Remarks

HasPreviousActivity property returns true to indicate that an activity exists before the earliest date in the ActivityQuery.DateRanges of the associated ActivityQuery object. Likewise it returns false to indicate that no such activity exists. It returns null if the information is not available, which could be because ActivityQuery's ActivityQuery.RequestedInformation flags didn't contain the ActivityQueryRequestedDataFlags.HasPreviousActivity flag, or the underlying data connector doesn't support being able to query for this information.

This information is used by schedule controls to provide navigation user interface for navigating to the previous activity that occurs before the currently displayed activities.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also