Back to product page

LoadPrivateData method


Loads private data from the server.

Type

String

Syntax

  • Basic
object.LoadPrivateData (Name)
The LoadPrivateData(object,Name) syntax has these parts:
objectAn expression evaluating to an object of type wodXMPP
NameA String value. Name of the variable that should be retrieved.

Remarks

Use this method to retrieve previously saved data (using SavePrivateData method). You must provide same Name that was used when data was saved. If Blocking mode was used, retrieved data will be returned as a result. Otherwise, if async mode was used, you should wait for PrivateData event to fire to obtain the Data.

Platforms

Windows