Table of Contents

Search

  1. Preface
  2. Part 1: On-Prem Operations
  3. Part 2: Parameter and Element Reference
  4. Appendix A: Geocode Countries
  5. Appendix B: Certified Mode Values

On-Premises Developer Guide

On-Premises Developer Guide

Retrieving String Data Values

Retrieving String Data Values

You can use the IDVE_GetString() and IDVE_GetStringW() functions to retrieve string data values in the address as string data types. Use the IDVE_GetString() to retrieve the string data in the UTF-8 encoding. Use the IDVE_GetStringW() function to retrieve the string data in the UTF-16 encoding.
Consider the following rules and guidelines when you use IDVE_GetString() or IDVE_GetStringW():
  • The IDVE_GetString() function uses the same structure as the IDVE_GetJSON() function. To use the IDVE_GetString() function, replace IDVE_GetJSON with IDVE_GetString in the structure.
  • The IDVE_GetStringW() function uses the same structure as the IDVE_GetJSONW() function. To use the IDVE_GetStringW() function, replace IDVE_GetJSONW with IDVE_GetStringW in the structure.
  • For IDVE_GetString() and IDVE_GetStringW(), the URI must point to a terminal property of type string, in contrast to IDVE_GetJSON, where the URI may point to a terminal or non-terminal property of any type.

0 COMMENTS

We’d like to hear from you!