This method retrieves a list of DataItem elements under the current node. From the page level, call GetDataNode to retrieve an ISettingsProperty interface for the data. Then, on that instance, call GetDataNodes to retrieve the list of records. For example, given this XML:

    <Page …>

      <Data Name="Network">

        <DataItem>

          <Setter Property="DisplayName">Public</Setter>

          <Setter Property="Share">\\servername\Share</Setter>

        </DataItem>

        <DataItem>

          <Setter Property="DisplayName">Dev Team</Setter>

          <Setter Property="Share">\\servername\DevShare</Setter>

        </DataItem>

      </Data>

 

PSettingsProperties pData;

Settings()->GetDataNode(L"Network", &pData);

PDataNodes pNodes;

pData->GetDataNodes(&pNodes);

Related Topics

ISettingsProperties Interface