This document is archived and information here might be outdated. Recommended version. |
Opens the Review/Rematch Addresses dialog.
[Visual Basic .NET] Public Sub RematchTable ( _ ByVal parentWindow As Integer, _ ByVal inputTable As IFeatureClass, _ ByVal inputFieldNamesList As String, _ ByVal inputJoinFieldName As String, _ ByVal outputTable As IFeatureClass, _ ByVal outputFieldNamesList As String, _ ByVal outputJoinFieldName As String, _ ByVal Locator As ILocator _ )
[C#] public void RematchTable ( int parentWindow, IFeatureClass inputTable, string inputFieldNamesList, string inputJoinFieldName, IFeatureClass outputTable, string outputFieldNamesList, string outputJoinFieldName, ILocator Locator );
The RematchTable method displays the Interactive Rematch dialog box for rematching a geocoded feature class. To rematch a geocoded feature class, obtain the attached locator of the feature class using the ILocatorManager::GetLocatorFromDataset method. Most of the parameters for the RematchTable method can be obtained directly from the attached locator.
The parentWindow parameter is a long integer value containing the handle to the parent window for the user interface. The user interface appears modally on top of this window.
The InputTable parameter is a reference to the table containing the address information. The OutputTable parameter is a reference to the table containing the match fields created by the locator. The InputFieldNamesList parameter is a comma-delimited list of the names of the fields in InputTable containing the address information. The OutputFieldNamesList is a comma-delimited list of the names in OutputTable containing the match information.
If InputTable and OutputTable do not refer to the same dataset, then you need to specify join fields in each table so that the locator can relate records in the two tables to each other. The InputJoinFieldName parameter is the name of the join field in InputTable. Usually, this is the name of the ObjectID field in this table. The OutputJoinFieldName parameter is the name of the field in OutputTable that contains a key to records in InputTable.
The Locator parameter is a reference to the locator that you want to use to rematch the table.
IAddressUI Interface | IAdvancedGeocoding.RematchTable Method