This document is archived and information here might be outdated.  Recommended version.


IAddressGeocoding.Validate Method (ArcObjects .NET 10.6 SDK)
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 | ReferenceDataIndex Class | ReferenceDataIndexEnumerator Class | IReferenceDataFile Interface | ReferenceDataFieldsEnumerator Class | StreetMapAddressLocator Class | ReferenceDataField Class | IReferenceDataTable Interface | ReferenceDataTable Class | IReferenceDataFieldEdit Interface | IEnumReferenceDataField Interface | IEnumReferenceDataIndex Interface | IReferenceDataField Interface | ReferenceDataTableEnumerator Class | ESRIFDOAddressLocator Class | IEnumReferenceDataTable Interface | IReferenceDataFile.PathName Property | IReferenceDataTables.HasEnoughInfo Property | IReferenceDataFile.Filters Property | IReferenceDataTables.Tables Property | IAddressGeocoding.Validate Method | IReferenceDataTableEdit Interface | IReferenceDataTables Interface | IAddressGeocoding.Validate Method | GeocodingIndexObject Class | GeocodingIndexClassExtension Class | IGeocodingIndexCompute Interface | ReferenceDataIndex Class | ReferenceDataIndexEnumerator Class | IReferenceDataIndex Interface | IEnumReferenceDataIndex Interface | IReferenceDataIndexEdit Interface | IReferenceDataTable.GeocodingIndexes Property