Click or drag to resize
MacroRuleInfoProviderDeleteMacroRuleInfo Method (MacroRuleInfo)

Note: This API is now obsolete.

Deletes specified macro rule.

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

Parameters

ruleObj
Type: CMS.MacroEngineMacroRuleInfo
Macro rule to be deleted.
See Also