As of right now I'm using the Geoprocessing.ExecuteToolAsync() method and the "CreateFeatureclass_management" tool to create a feature class in memory passing in 'memory' as the path. The issue is that I can't seem to find a way to create a feature layer in memory directly into an existing group layer. I have to manually move it into the group layer using MapView.Active.Map.MoveLayer() method passing in the newly created feature layer and the existing group layer.
CreateFeatureclass_management adds content to the map via the "Add output datasets to an open map" setting I believe. I did not see an option anywhere to specify a layer as a target. Perhaps confirm with the GP team? https://community.esri.com/t5/geoprocessing-questions/bd-p/geoprocessing-questions
Thank you I will!😁