Version

CollapseToLevelAsync Method

Asynchronously collapses FilterMembers hierarchy up to the specified level.
Syntax
'Declaration
 
Public Function CollapseToLevelAsync( _
   ByVal filterViewModel As IFilterViewModel, _
   ByVal level As ILevel _
) As Task
public Task CollapseToLevelAsync( 
   IFilterViewModel filterViewModel,
   ILevel level
)

Parameters

filterViewModel
The IFilterViewModel whose FilterMembers hierarchy will be collapsed.
level
The level which specifies the depth of FilterMembers hierarchy will be collapsed up to.

Return Value

The System.Threading.Tasks.Task which completes when all members of FilterMembers hierarchy are collapsed to the specified level depth.
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