| MacroResolverSetNamedSourceDataCallback Method  | 
            Registers the named source data with late binding. Callback is called whenever the value is needed by MacroResolver.
            
 
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 11.0.0
Syntaxpublic void SetNamedSourceDataCallback(
	string selector,
	Func<EvaluationContext, Object> callback,
	bool isPrioritized = true
)
Parameters
- selector
 - Type: SystemString
Data selector - callback
 - Type: SystemFuncEvaluationContext, Object
Callback function which is called to get the data - isPrioritized (Optional)
 - Type: SystemBoolean
If true, this item will appear at the top of AutoCompletion and ObjectTree 
See Also