Skip to main content

Close

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

note

This method is not available for JS.

Syntax

def Close(self) -> None

Example

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