Click or drag to resize
MacroRuleInfoProviderGetMacroRuleInfo Method (String)

Note: This API is now obsolete.

Returns macro rule with specified name.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IMacroRuleInfoProvider.Get(string) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - MacroRuleInfo.Provider.")]
public static MacroRuleInfo GetMacroRuleInfo(
	string ruleName
)

Parameters

ruleName
Type: SystemString
Macro rule name.

Return Value

Type: MacroRuleInfo
See Also