MacroExtensionContainerTContainer, TExtensionGetExtensionForObject Method |
Returns macro extension object of given name if registered for specified object. Caches the result in the internal cache.
It loops through all 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: 13.0.131
Syntax protected static TExtension GetExtensionForObject(
Object obj,
string name
)
Parameters
- obj
- Type: SystemObject
Object to check - name
- Type: SystemString
Name of the method
Return Value
Type:
TExtensionSee Also