ESRI.ArcGIS.ADF.IMS
HasMore Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > FeatureTable Class : HasMore Property




Gets a value that indicates whether more features can be retrieved.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property HasMore As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FeatureTable
Dim value As Boolean
 
value = instance.HasMore
C# 
public bool HasMore {get;}

Remarks

If the FeatureTable was generated from a FeatureLayer.Query and more features were found than in the QueryParameters.FeatureLimit setting used during the Query, then the HasMore property will be true. In that case, FeatureLayer.Query(QueryParameters, int) can be used to retrieve additional feature records.

This property does not reflect whether feature records were found before the first record of the current FeatureTable. If FeatureLayer.Query(QueryParameters, int) produced the current FeatureTable, and the beginRecord (2nd parameter) of Query was greater than zero, then HasMore does not indicate the presence of the records prior to the beginRecord.

Example: 90 features meet the criteria for a query on a feature layer. A FeatureTable is obtained using FeatureLayer.Query(QueryParameters) with the default feature limit of 50. The HasMore property of this first FeatureTable is true. A second FeatureTable is then retrieved using FeatureLayer.Query(QueryParameters, int), with the beginRecord parameter set to 50. This returns the final 40 feature records that match the query filter criteria. The HasMore property of this second FeatureTable will be false.

This property is read-only.

See Also

© 2010 All Rights Reserved.