private Function[] GetSubFunctions(Function oFunction)
{
FunctionBasePropertyList oIdentNameProps = oFunction.IdentifyingNameParts;
FunctionPropertyList oFilterOutMainProps = new FunctionPropertyList();
oFilterOutMainProps.FUNC_MAINFUNCTION = false;
DMObjectsFinder oFinder = new DMObjectsFinder(m_oProject);
FunctionsFilter oFilter = new FunctionsFilter();
oFilter.SetIdentifyingPropertyList(oIdentNameProps);
oFilter.SetFilteredPropertyList(oFilterOutMainProps);
Function[] oResult = oFinder.GetFunctions(oFilter);
return oResult;
}