Uiinfrastructure API Docs  
 

ConstructFactory.GetConstruct Method (PTConstructType, Boolean)

Call this method to obtain a PTConstruct.

public static PTConstruct GetConstruct(
   PTConstructType type,
   bool bUpdateStrings
);

Parameters

type
Pass the type of construct you wish to obtain. Construct types are available as static members of the various PTConstructType classes.

bUpdateStrings
Pass a boolean value indicating whether or not you wish for the strings of this banner to be updated automatically. If you pass true, all appropriate strings will be replaced with localized versions. If you pass false, all strings will be left with they prototypical values. You can update the strings yourself, using the string dictionary returned by the PTBannerType.GetStringDictionary method.

Return Value

See Also

ConstructFactory Class | com.plumtree.xpshared.htmlconstructs Namespace | ConstructFactory.GetConstruct Overload List