DirectShape.IsValidCategoryId
Description:
Test the category id to make sure it is indeed a top-level built-in category.
Test the category id to make sure it is indeed a top-level built-in category.
-
categoryIdCategory id to be tested.
-
docDocument to look up the category by id.
Return Value
bool
False unless categoryId corresponds to a valid built-in top-level model category.
-
A non-optional argument was NULL