Version

HasNextActivity Property

Indicates whether there's an activity after the latest 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 HasNextActivity As Nullable(Of Boolean)
public Nullable<bool> HasNextActivity {get;}
Remarks

HasNextActivity property returns true to indicate that an activity exists after the latest 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.HasNextActivity 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 next activity that occurs after 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