diff -r 4d198a32ac7d -r d4809db37847 plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-55591BBC-49F8-407D-98F5-1D2FCD5DFB34.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-55591BBC-49F8-407D-98F5-1D2FCD5DFB34.html Thu Aug 19 17:48:04 2010 -0700 @@ -0,0 +1,166 @@ + + +
Description:
+The GetList
method retrieves information about
+landmarks, landmark categories, or landmark databases. Landmarks and landmark
+categories are retrieved from the specified landmark database or, if no database
+is specified, from the default one.
This method can be called both synchronously and asynchronously.
+Note: For retrieving information about databases, only synchronous GetList
is
+supported.
Syntax:
+For synchronous calls:
+ +result = so.IDataSource.GetList(criteria);+
For asynchronous calls:
+ +result = so.IDataSource.GetList(criteria, callback);+
Arguments:
+criteria
:
This is an object that specifies what landmark information is returned +and how the returned information is sorted. For more information about the +object properties and how to define them, see section Criteria for retrieving landmark information.
+ +callback
:
The callback
argument is the name of the method
+that is executed when an asynchronous GetList
call has
+results or status information to return. You must define this method separately.
+Follow the instructions in section Defining the callback handler for an asynchronous method to
+define the callback
method.
This argument is used only with an asynchronous GetList
call.
Return value:
+If synchronous, the GetList
method returns an object
+that contains the requested landmark information, an error code, and an error
+message.
+ Property + |
+ Description + |
+ Value + |
---|---|---|
+
|
+
+ This is an iterator that contains the requested landmark information. + |
++ + | +
+
|
+
+ This is a number that specifies a predefined error code. + |
++ + | +
+
|
+
+ This is a text string that describes the error. + |
++ + | +
If asynchronous, the GetList
method returns an
+object that contains the initial return value for the asynchronous call it
+started (see the following table). The actual landmark information is returned
+by the callback
method
+in the ReturnValue
property of its result object. The
+returned information is described in section Returned landmark information.
+ Property + |
+ Description + |
+ Value + |
---|---|---|
+
|
+
+ This is a number used as an identification to match transactions started
+with the asynchronous |
++ |
+
|
+
+ This is a number that specifies a predefined error code. + |
++ + | +
+
|
+
+ This is a text string that describes the error. + |
++ + | +
Remarks:
+If GetList
is performed on the default
+landmark database and it does not exist, it is created and set active. The
+default database is file://c:eposlm.ldb
.
For more information about landmarks, landmark categories, +and landmark databases, see the Landmarks +Service overview page.
Example code:
+ +For the complete source of a sample widget +that demonstrates how to use this Service API, see the +full example.
+ + + + +