MacroMethodContainerGetOptionalParamT Method |
Gets the optional param of the given type
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
Syntax protected static T GetOptionalParam<T>(
Object[] parameters,
int index,
T defaultValue
)
Parameters
- parameters
- Type: SystemObject
List of method parameters - index
- Type: SystemInt32
Parameter index - defaultValue
- Type: T
Default value in case conversion fails or parameter is not available
Type Parameters
- T
Return Value
Type:
TSee Also