Click or drag to resize
MacroResolverEncapsulateObject Method
Encapsulates object if needed (DataSet, DataRow, DataTable to their Container equivalent).

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 11.0.0
Syntax
C#
public static Object EncapsulateObject(
	Object obj,
	EvaluationContext context = null
)

Parameters

obj
Type: SystemObject
Object to be encapsulated
context (Optional)
Type: CMS.MacroEngineEvaluationContext
Evaluation context

Return Value

Type: Object
See Also