PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The Property Member on variables of type Variant allows to obtain the array of the elements named.
Versions 22 and later
Java This property is now available for Java applications.
New in version 22
Java This property is now available for Java applications.
Java This property is now available for Java applications.
Example
v is Variant = JSONToVariant(JSON)
FOR EACH x OF v.Member
Trace("The member " + x.Name + " has the value " + x.Value)
END
Syntax

Getting the array of named elements of a Variant variable Hide the details

<Result> = <Variant>.Member
<Result>: Array
Array of named elements. This array can be browsed via the FOR EACH syntax.
<Variant>: Character string (with or without quotes)
Name of the Variant variable to use.
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment