Address Verification (On-Premises)
- Address Verification (On-Premises) 5.10.0
- All Products
AD_U32 ulNumResults; size_t stCurResult; AD_GetResultCount( hAOHandle, &ulNumResults ); for( stCurResult = 1; stCurResult <= ulNumResults; stCurResult++ ) { char sStreet[ 256 ]; AD_U32 ulNumItems; size_t stCurItem; AD_GetResultAddressElementItemCount( hAOHandle, 1, "Street", &ulNumItems ); for( stCurItem = 1; stCurItem <= ulNumItems; stCurItem++ ) { AD_GetResultAddressElement( hAOHandle, stCurResult, "Street", stCurItem, "COMPLETE", sStreet, sizeof( sStreet ) ); printf( "Result %u: Street item %u: %s\n", stCurResult, stCurItem, sStreet ); } }
int NumResults = m_oAO.getResultCount(); int CurResult; for (CurResult = 1; CurResult <= NumResults; CurResult++) { int NumItems = m_oAO.getResultAddressElementItemCount(CurResult, "Street"); int CurItem; for (CurItem = 1; CurItem <= NumItems; CurItem++) { System.out.println(m_oAO.getResultAddressElement(CurResult, "Street", CurItem, "COMPLETE")); } }
char sResultXML[ 16 * 1024 ]; AD_GetResultXML( hAOHandle, sResultXML, sizeof( sResultXML ) );
String sResultXML = ""; sResultXML = m_oAO.getResultXML();