Public Member Functions | List of all members
WorkSetHistoryInfo Struct Reference

ProjectHistoryInfo represents the MRU (most recently used) list of projects. More...

#include <deffiles.h>

Public Member Functions

void Clear ()
 
StatusInt ToStorage ()
 
StatusInt FromStorage ()
 
WorkSetHistoryListGetWorkSetHistory ()
 
StatusInt AddWorkSet (DgnWorkSetCR workSet)
 
StatusInt RemoveWorkSet (DgnWorkSetCR workSet)
 

Detailed Description

ProjectHistoryInfo represents the MRU (most recently used) list of projects.

See snippet below to fetch the current history: ProjectHistoryInfo historyInfo; historyInfo.FromStorage(); size_t count = historyInfo.GetProjectHistory().Count(); for (size_t index = 0; index < count; index++) { DgnDocumentMonikerPtr mon = historyInfo.GetProjectHistory().GetMoniker(index); printf (" %ls\n", mon->GetSavedFileName().c_str ()); }

Member Function Documentation

StatusInt AddWorkSet ( DgnWorkSetCR  workSet)
void Clear ( )
StatusInt FromStorage ( )
WorkSetHistoryList& GetWorkSetHistory ( )
StatusInt RemoveWorkSet ( DgnWorkSetCR  workSet)
StatusInt ToStorage ( )

The documentation for this struct was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.