Provides access to the Map Server Find Results Interface.
Members
Name | Description | |
---|---|---|
Add | Adds a find result. | |
Count | The find result count. | |
Element | The find result at the specified position. | |
Insert | Adds a find result at the specified position. | |
Remove | Removes the find result at the specified position. | |
RemoveAll | Removes all find results. |
IMapServerFindResults.Add Method
Adds a find result.
Public Sub Add ( _
ByVal findResult As IMapServerFindResult _
)
public void Add (
IMapServerFindResult findResult
);
IMapServerFindResults.Count Property
The find result count.
Public ReadOnly Property Count As Integer
public int Count {get;}
IMapServerFindResults.Element Property
The find result at the specified position.
Public Function get_Element ( _
ByVal Index As Integer _
) As IMapServerFindResult
public IMapServerFindResult get_Element (
int Index
);
IMapServerFindResults.Insert Method
Adds a find result at the specified position.
Public Sub Insert ( _
ByVal Index As Integer, _
ByVal findResult As IMapServerFindResult _
)
public void Insert (
int Index,
IMapServerFindResult findResult
);
IMapServerFindResults.Remove Method
Removes the find result at the specified position.
Public Sub Remove ( _
ByVal Index As Integer _
)
public void Remove (
int Index
);
IMapServerFindResults.RemoveAll Method
Removes all find results.
Public Sub RemoveAll ( _
)
public void RemoveAll (
);
Classes that implement IMapServerFindResults
Classes | Description |
---|---|
MapServerFindResults | A collection of Map Server Find Result objects. |
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 Rowsof a MapServerRelationship. The MaxRecordCount can also be changed by modifying the MaxRecordCount XML tag in the MapServer's configuration file.