SearchCategory method: SearchCategory class

Syntax

SearchCategory(Name)

Description

Use this constructor to instantiate a SearchCategory object populated with the data from the specified saved definition.

Parameters

Parameter Description

Name

The name of the search category to instantiate as a string.

Returns

A SearchCategory object.

Example

import PT_SEARCH:SearchCategory;

Local PT_SEARCH:SearchCategory &SrchCat = create PT_SEARCH:SearchCategory⇒
("MySrchCat");