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