org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-D14E0D5C-2D99-41C8-8857-455409065500.html
changeset 229 716254ccbcc0
equal deleted inserted replaced
228:913c9751c067 229:716254ccbcc0
       
     1 
       
     2 <!DOCTYPE html
       
     3   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       
     4 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="copyright" content="(C) Copyright 2009"/><meta name="DC.rights.owner" content="(C) Copyright 2009"/><meta name="DC.Type" content="mobileconcept"/><meta name="DC.Title" content="Criteria for retrieving system attribute information"/><meta name="DC.Relation" scheme="URI" content="GUID-7C69DDA4-16F1-4A8F-BDB2-4CB0015B4E81"/><meta name="DC.Relation" scheme="URI" content="GUID-65AAF569-D347-462B-B59A-9D7CA184AB9C"/><meta name="DC.Relation" scheme="URI" content="GUID-AEB26A58-1DE2-46CB-81EC-6DB3A477B7A3"/><meta name="DC.Relation" scheme="URI" content="GUID-279A3698-D09B-44BF-8340-739E19F94727"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-D14E0D5C-2D99-41C8-8857-455409065500"/><title>Criteria for
       
     5 retrieving system attribute information </title><script type="text/javascript">
       
     6       function initPage() {}
       
     7     </script><link href="../PRODUCT_PLUGIN/book.css" rel="stylesheet" type="text/css"/><link href="css/s60/style.css" rel="stylesheet" type="text/css" media="all"/></head><body onload="initPage();"><div class="body"><div class="contentLeft prTxt"><h1 class="pageHeading" id="GUID-D14E0D5C-2D99-41C8-8857-455409065500"><span>Criteria</span> for
       
     8 retrieving system attribute information</h1><div>
       
     9 <p>The <code>criteria</code> object specifies the <a href="GUID-B796D072-4E51-4BC7-9259-84530DB3539D.html#GUID-B796D072-4E51-4BC7-9259-84530DB3539D">system attribute</a> about
       
    10 which to retrieve information.</p>
       
    11 <p>The <code>criteria</code> object has three properties: <code>Entity</code>, <code>Key</code>,
       
    12 and <code>SystemData</code>. These are described in the following
       
    13 table. Properties enclosed in brackets are optional.</p>
       
    14 <div class="tablenoborder"><a name="GUID-040E3B72-CB03-42D6-BBAD-11C62C4B1872"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-040E3B72-CB03-42D6-BBAD-11C62C4B1872" frame="border" border="1" rules="all"><caption><strong>Table: </strong><span>Criteria</span> object properties</caption>
       
    15 
       
    16 <thead align="left">
       
    17 <tr class="title "><th class="cellrowborder" valign="top" width="25%" id="d0e67851">
       
    18 <p>Property</p>
       
    19 </th><th class="cellrowborder" valign="top" width="25%" id="d0e67856">
       
    20 <p>Description</p>
       
    21 </th><th class="cellrowborder" valign="top" width="25%" id="d0e67861">
       
    22 <p>Type</p>
       
    23 </th><th class="cellrowborder" valign="top" width="25%" id="d0e67866">
       
    24 <p>Value</p>
       
    25 </th></tr>
       
    26 </thead>
       
    27 <tbody>
       
    28 <tr class="">
       
    29 <td class="cellrowborder" valign="top" width="25%" headers="d0e67851 ">
       
    30 <p><code>criteria.Entity</code></p>
       
    31 </td>
       
    32 <td class="cellrowborder" valign="top" width="25%" headers="d0e67856 ">
       
    33 <p>Specifies the entity of the system attribute.</p>
       
    34 <p>Together with <code>Key</code>, this specifies the system attribute
       
    35 to retrieve.</p>
       
    36 <p>For more information about entities, see section <a href="GUID-B796D072-4E51-4BC7-9259-84530DB3539D.html#GUID-B796D072-4E51-4BC7-9259-84530DB3539D">System attributes</a>.</p>
       
    37 </td>
       
    38 <td class="cellrowborder" valign="top" width="25%" headers="d0e67861 ">
       
    39 <p>string</p>
       
    40 </td>
       
    41 <td class="cellrowborder" valign="top" width="25%" headers="d0e67866 ">
       
    42 <p>For a complete list of supported entities, see section <a href="GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D.html#GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D">Supported system attributes (entities and keys)</a>.</p>
       
    43 <p>For example: <code>"Memory"</code></p>
       
    44 </td>
       
    45 </tr>
       
    46 <tr class="bg ">
       
    47 <td class="cellrowborder" valign="top" width="25%" headers="d0e67851 ">
       
    48 <p><code>criteria.Key</code></p>
       
    49 </td>
       
    50 <td class="cellrowborder" valign="top" width="25%" headers="d0e67856 ">
       
    51 <p>Specifies the key of the system attribute. The available keys depend
       
    52 on the entity.</p>
       
    53 <p>Together with <code>Entity</code>, this specifies the system
       
    54 attribute to retrieve.</p>
       
    55 <p>For more information about keys, see section <a href="GUID-B796D072-4E51-4BC7-9259-84530DB3539D.html#GUID-B796D072-4E51-4BC7-9259-84530DB3539D">System attributes</a>.</p>
       
    56 </td>
       
    57 <td class="cellrowborder" valign="top" width="25%" headers="d0e67861 ">
       
    58 <p>string</p>
       
    59 </td>
       
    60 <td class="cellrowborder" valign="top" width="25%" headers="d0e67866 ">
       
    61 <p>For a complete list of supported keys per entity, see the <strong>Key</strong> column
       
    62 of the tables in section <a href="GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D.html#GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D">Supported system attributes (entities and keys)</a>.</p>
       
    63 <p>For example: <code>"DriveInfo"</code></p>
       
    64 </td>
       
    65 </tr>
       
    66 <tr class="">
       
    67 <td class="cellrowborder" valign="top" width="25%" headers="d0e67851 ">
       
    68 <p><code>[criteria.SystemData]</code></p>
       
    69 </td>
       
    70 <td class="cellrowborder" valign="top" width="25%" headers="d0e67856 ">
       
    71 <p>Specifies the value of the system attribute.</p>
       
    72 <p>Some system attributes require this property as input for <a href="GUID-279A3698-D09B-44BF-8340-739E19F94727.html#GUID-279A3698-D09B-44BF-8340-739E19F94727"><code>GetInfo</code></a>. To find out which attributes, see the <strong>Input</strong> column of the
       
    73 tables in section <a href="GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D.html#GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D">Supported system attributes (entities and keys)</a>.</p>
       
    74 <p>The <code>SystemData</code> object has one or more properties
       
    75 that together represent the system attribute value. The exact set of properties
       
    76 depends on the system attribute (specifically, on the system data type used
       
    77 for input).</p>
       
    78 <p>For more information about system attribute values, see section <a href="GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D.html#GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D">Supported system attributes (entities and keys)</a>.</p>
       
    79 </td>
       
    80 <td class="cellrowborder" valign="top" width="25%" headers="d0e67861 ">
       
    81 <p>object</p>
       
    82 </td>
       
    83 <td class="cellrowborder" valign="top" width="25%" headers="d0e67866 ">
       
    84 <p>The object properties depend on the system attribute. See the <strong>Input</strong> column
       
    85 cell for the appropriate system attribute in section <a href="GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D.html#GUID-DBB90F32-C1FA-4B0C-9BCA-89177140A60D">Supported system attributes (entities and keys)</a>.</p>
       
    86 <p>For example, the <code>Memory - DriveInfo</code> system attribute
       
    87 takes <a href="GUID-4C79E511-1C1A-475D-BBBB-4F1F6D406340.html#GUID-3D531FEF-1D7D-4FAC-8208-52794A252C10"><code>DriveInfo</code></a> information
       
    88 as input for <code>GetInfo</code>:</p>
       
    89 <p><code>SystemData.Drive = "C:\\"</code></p>
       
    90 </td>
       
    91 </tr>
       
    92 </tbody>
       
    93 </table></div></div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>