ArgObj
Provides an alternative way to pass parameters to a block that is a container.
Examples
SearchContainer = CRM.GetBlock('Container');
SearchBlock = CRM.GetBlock('PersonSearchBox');
SearchContainer.AddBlock(SearchBlock);
if (CRM.Mode == 2) {
resultsBlock = CRM.GetBlock('PersonGrid');
resultsBlock.ArgObj = SearchBlock;
SearchContainer.AddBlock(resultsBlock);}
CRM.AddContent(SearchContainer.Execute());
Response.Write(CRM.GetPage)
Passes the SearchBlock result as the argument to the list block and displays the relevant search or results list.