AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones Google / Google Contacts
  • Properties specific to gglEmail variables
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The gglEmail type is used to describe and modify the email address of a contact.
This type of variable is used by the gglContact type.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Ejemplo
// Connection to Google
Cnt is gglConnection
Cnt.Email = "balthazar@gmail.com"
Cnt.Password = "qwerty"
Cnt.ApplicationName = "MyApp-01"
IF GglConnect(Cnt) = False THEN
	Error(ErrorInfo())
END
...
// Retrieve the array of contacts
arrContacts is array of gglContact
arrContacts = GglListContact(Cnt)

// Display the emails of the first contact
AContact is gglContact = arrContacts[1]
AnEmail is dynamic gglEmail
FOR EACH AnEmail OF AContact.Email
	Trace(UnEmail.Label + ": " + UnEmail.Address)
END
Propiedades

Properties specific to gglEmail variables

The following properties can be used to define the characteristics of gglEmail variables:
Property nameType usedEffect
AddressUnicode stringEmail address of contact.
CaptionUnicode stringCaption for describing the address.

Equivalent of a custom type. A value must be assigned to only one of the two properties: Caption or Type.
PrimaryBoolean
  • True if the email corresponds to the main email address of the contact,
  • False otherwise.
TypeInteger constantType of the email address corresponding to one of the following variables:
  • gglOther Other address type.
  • gglBureau: Business address.
  • gglHome: Home address.
A value must be assigned to only one of the two properties: Caption or Type.
Versión mínima requerida
  • Versión 14
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local