MacroMethodContainerGetOptionalParamT Method |
Gets the optional param of the given type
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 11.0.0
Syntaxprotected 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:
T
See Also