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.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
Syntax 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