combit List & Label 29 - .NET Help
combit.Reporting Namespace / LlCore Class / LlProjectOpen Method / LlProjectOpen(LlProject,Stream,Int32) Method
Project type.
Project stream to open.

Combination (ORing) of a flag from each of the following three groups:

Value Meaning

LL_PRJOPEN_CD_OPEN_EXISTING

File must already exist, otherwise error code will be returned.

LL_PRJOPEN_CD_CREATE_ALWAYS

File is always newly created. If it already exists, the content is deleted.

LL_PRJOPEN_CD_CREATE_NEW

File is newly created if it does not exist. If file already exists, error code is returned.

LL_PRJOPEN_CD_OPEN_ALWAYS

If file exists the content is used, otherwise file is newly created.

Value Meaning

LL_PRJOPEN_AM_READWRITE

File is opened for read/write access.

LL_PRJOPEN_AM_READONLY

File is only opened for read access.

Value Meaning

LL_PRJOPEN_EM_IGNORE_

FORMULAERRORS

Syntax errors are ignored. See notes.



In This Topic
    LlProjectOpen(LlProject,Stream,Int32) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Function LlProjectOpen( _
       ByVal projectType As LlProject, _
       ByVal projectStream As Stream, _
       ByVal flags As Integer _
    ) As Integer
    public int LlProjectOpen( 
       LlProject projectType,
       Stream projectStream,
       int flags
    )
    public:
    int LlProjectOpen( 
       LlProject projectType,
       Stream^ projectStream,
       int flags
    ) 

    Parameters

    projectType
    Project type.
    projectStream
    Project stream to open.
    flags

    Combination (ORing) of a flag from each of the following three groups:

    Value Meaning

    LL_PRJOPEN_CD_OPEN_EXISTING

    File must already exist, otherwise error code will be returned.

    LL_PRJOPEN_CD_CREATE_ALWAYS

    File is always newly created. If it already exists, the content is deleted.

    LL_PRJOPEN_CD_CREATE_NEW

    File is newly created if it does not exist. If file already exists, error code is returned.

    LL_PRJOPEN_CD_OPEN_ALWAYS

    If file exists the content is used, otherwise file is newly created.

    Value Meaning

    LL_PRJOPEN_AM_READWRITE

    File is opened for read/write access.

    LL_PRJOPEN_AM_READONLY

    File is only opened for read access.

    Value Meaning

    LL_PRJOPEN_EM_IGNORE_

    FORMULAERRORS

    Syntax errors are ignored. See notes.

    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also