//Get an enumerator IEnumerator ienum = frs.GetEnumerator(); //Loop through the enumerator while(ienum.MoveNext()) { Location loc = ienum.Current as Location; if(loc != null) { //process the location string s = loc.StreetAddress.Value; } }
//Define a missing value type object missing = System.Reflection.Missing.Value; //Use the missing type for optional parameters that are not needed DataMap mydatamap = mydataset.DisplayDataMap(GeoDataMapType.geoDataMapTypeShadedArea, field, GeoShowDataBy.geoShowByRegion1, GeoCombineDataBy.geoCombineByDefault, GeoDataRangeType.geoRangeTypeDiscreteLogRanges, GeoDataRangeOrder.geoRangeOrderDefault, 15, 3, missing, missing, missing, missing, missing);