Dynamicweb 8 Documentation
GetCategoryByID(String) Method

The ID of the Dynamicweb.eCommerce.Products.Categories.Category to find.
Returns the Dynamicweb.eCommerce.Products.Categories.Category with the given ID. The default Language is used.
Syntax
'Declaration
 
Public Shared Function GetCategoryByID( _ 
   ByVal categoryID As String _ 
) As Category
public static Category GetCategoryByID( 
   string categoryID 
)

Parameters

categoryID
The ID of the Dynamicweb.eCommerce.Products.Categories.Category to find.

Return Value

Dynamicweb.eCommerce.Products.Categories.Category otherwise Null
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

Reference

Category Class
Category Members

Send Feedback