Click or drag to resize
MacroMethodContainerGetMethodForObject Method
Returns macro method object of given name if registered for specified object. It loops through all MacroMethodContainer extensions of given object type. Returns null if there is no such Extension for given object.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 12.0.0
Syntax
C#
public static MacroMethod GetMethodForObject(
	Object obj,
	string name
)

Parameters

obj
Type: SystemObject
Object to check
name
Type: SystemString
Name of the method

Return Value

Type: MacroMethod
See Also