Skip to main content

Close

Closes the current scope. This method will be called automatically when the destructor is executed.

Please note, that for the .docbuilder file the CDocBuilderContextScope.Close method is not used.

Syntax

def Close(self) -> None

Example

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
scope = context.CreateScope()
scope.Close()