DrillDownGeoCoderGetRegions Method (Int32, Int32) | ![Verizon Connect Logo](../icons/logo.jpg) |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Get the regions that are available in a certain level. For example, having set the state to California (level 0),
calling GetRegions(1) will return regions like Los Angeles county, San Francisco county, San Bernardino county etc.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntaxpublic RegionSearchResult GetRegions(
int level,
int maxResults
)
Public Function GetRegions (
level As Integer,
maxResults As Integer
) As RegionSearchResult
Parameters
- level
- Type: SystemInt32
The region level to be searched. If this number is greater than the return value of
GetLargestUnsetLevel, it will throw an exception. - maxResults
- Type: SystemInt32
The maximum number of results permitted.
Return Value
Type:
RegionSearchResultA RegionSearchResult object that contains the results.
RemarksBy default, the maximum number of results from this call to GetRegions is 100. However, this can be overridden using maxResults.
See Also