Click or drag to resize

PostalCodeZipInfoLookup Method (IDatabase, String, PostalCodeSearchOptions)

Look up a ZIP code from the xot_zip_codes table.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static ZipInfo ZipInfoLookup(
	IDatabase db,
	string zip,
	PostalCodeSearchOptions options
)

Parameters

db
Type: NetQuarryIDatabase
The database in which the xot_zip_codes table resides.
zip
Type: SystemString
The ZIP code of interest. A five-digit ZIP is expected, but if a ZIP+4 code is provided it is truncated to five digits.
options
Type: NetQuarryPostalCodeSearchOptions
Zip code search options.

Return Value

Type: ZipInfo
The ZIP information if a match is found, else null.
See Also