API Help
Eplan.EplApi.Base Namespace / BaseException Class / GetBookmarkID Method
Example

In This Topic
    GetBookmarkID Method
    In This Topic
    Sets a label in the system error message management for getting a section of the 'message tree'
    Syntax
    public int GetBookmarkID()
    public:
    int GetBookmarkID(); 

    Return Value

    a serial number. save this value for later use
    Example
    get all messages which have been declared since the given bookmark was set
    int nBookmark2 = new Eplan.EplApi.Base.BaseException().GetBookmarkID();
    ...
    SysMessagesCollection colSysMsg = new SysMessagesCollection(nBookmark2, Eplan.EplApi.Base.MessageLevel.Error);
    SysMessagesEnumerator itSysMsg = colSysMsg.GetSysMsgEnumerator();
    See Also