Interface IMapServerFindResults
Provides access to the Map Server Find Results Interface.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("D624AD5E-AC10-42BC-8177-324105923C7E")]
public interface IMapServerFindResults
Remarks
In order to control the amount of information MapServer needs to process for a query, a maximum number of records can be set. This value is contained in the MaxRecordCount property. The default value for this property is 500. If 600 features match a given query only the first 500 results will be returned. You will be unable to access the remaining 100 records. To be able to access these records the MaxRecordCount would need to be increased to 600. MaxRecordCount affects the following IMapServer methods: Find, Identify, QueryFeatureData, and QueryHyperlinks. It does not affect QueryFeatureCount, QueryFeatureIDs or the number of Rows of a MapServerRelationship. The MaxRecordCount can also be changed by modifying the MaxRecordCount XML tag in the MapServer's configuration file.
Properties
Count
The find result count.
int Count { get; }
Property Value
Element[int]
The find result at the specified position.
IMapServerFindResult Element[int Index] { get; }
Parameters
Indexint
Property Value
Methods
Add(IMapServerFindResult)
Adds a find result.
void Add(IMapServerFindResult findResult)
Parameters
findResultIMapServerFindResult
Insert(int, IMapServerFindResult)
Adds a find result at the specified position.
void Insert(int Index, IMapServerFindResult findResult)
Parameters
IndexintfindResultIMapServerFindResult
Remove(int)
Removes the find result at the specified position.
void Remove(int Index)
Parameters
Indexint
RemoveAll()
Removes all find results.
void RemoveAll()