Click or drag to resize
MacroMethodContainerGetOptionalParamT Method
Gets the optional param of the given type

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 12.0.0
Syntax
C#
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: T
See Also