Version

GetChildrenCountOfMenuItem Method

Method to retrieve the count of all the visible child menu items of the requested XamMenuBase item
Syntax
'Declaration
 
Public Function GetChildrenCountOfMenuItem( _
   ByVal oMenuItemIdentifier As System.Object _
) As System.Integer
public System.int GetChildrenCountOfMenuItem( 
   System.object oMenuItemIdentifier
)
public: System.int GetChildrenCountOfMenuItem( 
   System.Object* oMenuItemIdentifier
) 

Parameters

oMenuItemIdentifier
Path identifier of the XamMenuBase item whose child menu items are required

Return Value

Returns the count of all the visible child menu items of the requested XamMenuBase item
Requirements

Target Platforms: Windows 7, 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