Home > Working with SGWorld > Project (IProject6) > Close

Close

Closes a FLY file or terrain database.

 

JavaScript

 

bool Close(

      bSuppressConfirmation)

 

C#

 

bool Close(

      bool bSuppressConfirmation = false)

 

C++

 

HRESULT Close(

      VARIANT_BOOL bSuppressConfirmation,

      VARIANT_BOOL * pbClosed) 

 

Parameters

bSuppressConfirmation

A Boolean that determines whether a dialog should display confirming the Close request.

Return Value

pbClosed

The Boolean return value that indicates whether or not the file is closed.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.