This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IA > IAddressInputs Interface > IAddressInputs.AddressFields Property (ArcObjects .NET 10.4 SDK) |
Fields needed to geocode a table of addresses.
[Visual Basic .NET] Public ReadOnly Property AddressFields As IFields
[C#] public IFields AddressFields {get;}
[C++]
HRESULT get_AddressFields(
IFields** Fields
);
[C++]
Parameters Fields [out, retval]
Fields is a parameter of type IFields
The AddressFields property returns a Fields object that specifies the fields that the locator uses to geocode addresses. The IField::Name property of each Field object in the collection is the internal field name used by the locator.
The IField::Required property of each Field indicates whether or not the locator requires this field to geocode addresses. Fields with a Required value of False are not required by the Locator, but may improve the match scores of the addresses.
You can use the Fields returned by this property to determine which fields in a table contain address information using the DefaultInputFieldNames property.