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


IAddressCandidates2.FindMatchingAddressCandidates Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IA > IAddressCandidates2 Interface > IAddressCandidates2.FindMatchingAddressCandidates Method
ArcGIS Developer Help

IAddressCandidates2.FindMatchingAddressCandidates Method

Generates candidates for an address, including only matching ones.

[Visual Basic .NET]
Public Function FindMatchingAddressCandidates ( _
    ByVal address As IPropertySet _
) As IArray
[C#]
public IArray FindMatchingAddressCandidates (
    IPropertySet address
);
[C++]
HRESULT FindMatchingAddressCandidates(
  IPropertySet* address
);
[C++]
Parameters
address [in]

address is a parameter of type IPropertySet*

Product Availability

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

Remarks

The FindMatchingAddressCandidates method is similar to the FindAddressCandidates method, with the exception that FindMatchingAddressCandidates returns only candidates with scores greater than or equal to the minimum match score for the locator.

The address parameter is a PropertySet that contains one property for each of the address fields defined by the address locator. You can use the IAddressInputs::AddressFields method to get the address fields for a address locator.

This method returns an Array of PropertySets. Each PropertySet in the Array has properties specified by the CandidateFields property.

See Also

IAddressCandidates2 Interface | IAddressCandidates Interface