# ISymUnmanagedWriter::CloseMethod Method

Closes the current method. Once a method is closed, no more symbols can be defined within it.

## Syntax

HRESULT CloseMethod();


## Return Value

S_OK if the method succeeds; otherwise, E_FAIL or some other error code.