ArcObjects Library Reference (Location)  

IAddressInputs.AddressFields Property

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

Product Availability

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

Remarks

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.

See Also

IAddressInputs Interface

.NET Samples

Single line address geocoding (Code Files: SingleLineGeocodingForm) |

.NET Related Topics

Creating an address locator | How to geocode a single address | How to geocode a table of addresses |