Click or drag to resize

DrillDownGeoCoderGetRegions Method (Int32, Int32)

Verizon Connect Logo
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
Syntax
public RegionSearchResult GetRegions(
	int level,
	int maxResults
)

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: RegionSearchResult
A RegionSearchResult object that contains the results.
Remarks

By default, the maximum number of results from this call to GetRegions is 100. However, this can be overridden using maxResults.

See Also