SearchHelperSearchEnabledForClass Method |
Returns true if search is enabled for a given class (document type). Returns false if class not found.
Namespace: CMS.SearchAssembly: CMS.Search (in CMS.Search.dll) Version: 8.2.23
Syntax public static bool SearchEnabledForClass(
string className
)
Parameters
- className
- Type: SystemString
Name of the class
Return Value
Type:
BooleanSee Also