void IFeatureRenderer.PrepareFilter(ESRI.ArcGIS.Geodatabase.IFeatureClass fc, ESRI.ArcGIS.Geodatabase.IQueryFilter queryFilter) { //Must Add OID queryFilter.AddField(fc.OIDFieldName); m_pFeatureClass = fc; m_pQueryFilter = queryFilter; }
void IFeatureRenderer.PrepareFilter(ESRI.ArcGIS.Geodatabase.IFeatureClass fc, ESRI.ArcGIS.Geodatabase.IQueryFilter queryFilter) { //Must Add OID if (queryFilter == null) { queryFilter = new QueryFilterClass(); } queryFilter.AddField(fc.OIDFieldName); intEstIdx = fc.FindField(strValueFldName); queryFilter.AddField(strValueFldName); m_pFeatureClass = fc; m_pQueryFilter = queryFilter; }