4D Shipping SDK 2020 .NET Edition

Questions / Feedback?

Matches Property

Collection of address candidates that meet the search criteria.


public MatchDetailList Matches { get; }
Public ReadOnly Property Matches As MatchDetailList


This property will contain the collection of all address candidates. It should be inspected after a call to ValidateAddress. Each match has a City, State, ZipCode, and other optional fields tied to it. The closest match is returned first.

For instance, if the response contains only one address candidate:

m_quality = component.Matches[0].Quality;
m_address = component.Matches[0].Address1;
m_city = component.Matches[0].City;
m_state = component.Matches[0].State;
m_country = component.Matches[0].CountryCode;

This property is read-only.

Copyright (c) 2022 4D Payments Inc. - All rights reserved.
4D Shipping SDK 2020 .NET Edition - Version 20.1 [Build 8300]