| MacroFieldContainerGetFieldForObject Method | 
            Returns macro field object of given name if registered for specified object.
            It loops through all MacroFieldContainer 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: 8.2.23
 Syntax
Syntaxpublic static MacroField GetFieldForObject(
	Object obj,
	string name
)
Parameters
- obj
- Type: SystemObject
 Object to check
- name
- Type: SystemString
 Name of the field
Return Value
Type: 
MacroField See Also
See Also