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


IAddressInputs.AddressFields Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IA > IAddressInputs Interface > IAddressInputs.AddressFields Property
ArcGIS Developer Help

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