ArcObjects Library Reference (Location)  

IAddressGeocoding.Validate Method

Checks that the locator properties and locator dataset are present and valid.

[Visual Basic .NET]
Public Sub Validate ( _
)
[C#]
public void Validate (
);
[C++]
HRESULT Validate(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The Validate method allows you to check that the locator is ready to be used. This method checks if the locator properties and locator dataset are present and valid.

This method preloads all locators referenced by a composite locator. Use this method to optimize performance as locators are loaded on application startup, so that the first geocoding operation will run quickly.

This method returns a value of True if the locator is valid, and returns an error if it is not.

See Also

IAddressGeocoding Interface | IReferenceDataTable Interface | ESRIFDOAddressLocator Class | ReferenceDataIndexEnumerator Class | ReferenceDataIndex Class | IReferenceDataTableEdit Interface | IReferenceDataFile.PathName Property | IReferenceDataTables Interface | IReferenceDataTables.HasEnoughInfo Property | IAddressGeocoding.Validate Method | IReferenceDataTables.Tables Property | IEnumReferenceDataTable Interface | IReferenceDataFile.Filters Property | IEnumReferenceDataIndex Interface | StreetMapAddressLocator Class | IReferenceDataFile Interface | IEnumReferenceDataField Interface | IReferenceDataFieldEdit Interface | ReferenceDataFieldsEnumerator Class | IReferenceDataField Interface | ReferenceDataTable Class | ReferenceDataTableEnumerator Class | ReferenceDataField Class | IEnumReferenceDataIndex Interface | IGeocodingIndexCompute Interface | IReferenceDataIndex Interface | IAddressGeocoding.Validate Method | GeocodingIndexObject Class | GeocodingIndexClassExtension Class | IReferenceDataTable.GeocodingIndexes Property | ReferenceDataIndexEnumerator Class | IReferenceDataIndexEdit Interface | ReferenceDataIndex Class