Version

ResolveActivityCategories Method (XamScheduleDataManager)

Gets the activity categories that are currently applied to the specified activity.
Syntax
'Declaration
 
Public Overridable Function ResolveActivityCategories( _
   ByVal activity As ActivityBase _
) As IEnumerable(Of ActivityCategory)
public virtual IEnumerable<ActivityCategory> ResolveActivityCategories( 
   ActivityBase activity
)

Parameters

activity
Activity whose currently applied categories to return.

Return Value

A collection of ActivityCategory objects. Note that the returned collection will support change notifications to notify when the activity's categories are changed (ActivityBase.Categories) or when the underlying activity categories are removed or added.
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