(arcgis engine in vs 2005 + c#)I have axMapControl with document .mxd, wich has several groupped layers. And try to make searching in layer elements with certain value of attribute. Now I try use next code: ESRI.ArcGIS.esriSystem.IArray pArray;
ESRI.ArcGIS.Carto.IFind pfind;
ESRI.ArcGIS.Carto.IFeatureLayer layer;
layer = (ESRI.ArcGIS.Carto.IFeatureLayer)axMapControl1.get_Layer(6) as ESRI.ArcGIS.Carto.IFeatureLayer;
pfind = (ESRI.ArcGIS.Carto.IFind)layer;
pArray = pfind.Find("???????", true, pfind.FindFields, axMapControl1.ActiveView.ScreenDisplay.CancelTracker);
int i = pArray.Count;
But needed layer included in some group.Did anybody help me - how i can get access to layer of certain group?Thanks for any help or reference