This document is archived and information here might be outdated. Recommended version. |
Name object for the place name alias table.
[Visual Basic .NET] Public Property Table As ITableName
[C#] public ITableName Table {get; set;}
[C++]
HRESULT get_Table(
ITableName** Name
);
[C++]
HRESULT putref_Table(
ITableName* Name
);
[C++] Parameters Name [out, retval]
Name is a parameter of type ITableName** Name [in]
Name is a parameter of type ITableName*
Locators can use place name alias tables during the geocoding process. A place name alias table is a table that contains place names (for example, "City Hall"), and the addresses for those places. When geocoding, the locator searches the place name alias table for matches to the input address. If a match is found, then locator replaces the input address with the corresponding address from the place name alias table. In this way, you can geocode addresses by place name, without having to know the proper street address for those places.
The Table property returns a reference to a TableName object representing the place name alias table.
When using the IPlaceNameAlias interface to specify the place name alias table for a locator, only set the writeable properties immediately one after the other. Setting some of these properties, such as the Table property, can place the locator object in a state which can cause some of the readable properties and methods on the locator to raise errors until the other writeable properties on this interface are set.