Difference between AddRange and Add:
- Add method is adding one field e.g. : Add("OBJECTID")
- AddRange is adding a list of fields coming from an enumerable : AddRange(myListOfFields)
Return all fields :
- should be 'query.OutFields.Add("*")'
Use the Field alias names when displaying results in a maptip :
- I don't think there is any out of the box maptip control which displays alias names
- But in the FeatureSet returned by the query, there is FieldAliases property giving a dictionary of <name, alias>. This dictionary could be used to develop your own maptip control.
Dominique