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