Click or drag to resize
MacroResolverSetNamedSourceDataInternal Method
Registers the named source data. The data can be accessed with macro {%Selector.ColumnName%}. Selector has to be in identifier format.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
Syntax
C#
public void SetNamedSourceDataInternal(
	string selector,
	Object data,
	bool isPrioritized,
	bool hidden
)

Parameters

selector
Type: SystemString
Data selector
data
Type: SystemObject
Data
isPrioritized
Type: SystemBoolean
If true, this item will appear at the top of AutoCompletion and ObjectTree
hidden
Type: SystemBoolean
If true, the source will be hidden (will be resolved in the resolving process, but won't be available in IntelliSense or any other macro component)
See Also