'Declaration
Public Function BuildMenu( _ ByVal StartingCategoryID As Integer, _ ByVal maxCategoryDepth As Integer _ ) As String
'Usage
Dim instance As CatalogCategoryMenuControl Dim StartingCategoryID As Integer Dim maxCategoryDepth As Integer Dim value As String value = instance.BuildMenu(StartingCategoryID, maxCategoryDepth)
public string BuildMenu( int StartingCategoryID, int maxCategoryDepth )
Parameters
- StartingCategoryID
- The Category_ID of the Category to start the menu at.
- maxCategoryDepth
- The number of category levels to include int the menu. Maximum of 3.
Return Value
The menu HTML as a string.