Click or drag to resize
MacroRuleInfoProviderGetMacroRuleInfo Method (Int32)

Note: This API is now obsolete.

Returns macro rule with specified ID.

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

Parameters

ruleId
Type: SystemInt32
Macro rule ID.

Return Value

Type: MacroRuleInfo
See Also