I'm trying to find a Line Symbol in the project style items but the function returns an empty collection. This is my reference
//Get all styles in the project
var styleProjectItem2D = Project.Current.GetItems<StyleProjectItem>().FirstOrDefault(s => s.Name == "ArcGIS 2D");
//Get a specific style in the project by name
var arrowLineSymbol = styleProjectItem2D.SearchSymbols(StyleItemType.LineSymbol, "Arrow Line 2 (Mid)")[0];
The 'Arrow Line 2 (Mid)' symbol cannot be found even though it is available in the ArcGIS Pro project style
