Version

GetSupportedActivityCategories Method (ListScheduleDataConnector)

Gets the list of activity categories that are supported for the specified activity. Default implementation returns null.
Syntax
'Declaration
 
Protected Friend Overrides Function GetSupportedActivityCategories( _
   ByVal activity As ActivityBase _
) As IEnumerable(Of ActivityCategory)
protected internal override IEnumerable<ActivityCategory> GetSupportedActivityCategories( 
   ActivityBase activity
)

Parameters

activity
Activity for which to get the list of supported categories.

Return Value

IEnumerable that can optionally implement INotifyCollectionChanged to notify of changes to the list.
Remarks

This method is used to retrieve the list of activity categories that are supported by the specified activity. It's used by the activity dialogs to display the list of applicable categories from which the user can select one or more categories.

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