ISymUnmanagedWriter::OpenNamespace Method

Opens a new namespace. Call this method before defining methods or variables that occupy a namespace. Namespaces can be nested.

HRESULT OpenNamespace(
    [in] const WCHAR *name);

Parameters

  • name
    [in] A pointer to the name of the new namespace.

Return Value

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

Requirements

Header: CorSym.idl

See Also

Reference

ISymUnmanagedWriter Interface
ISymUnmanagedWriter::CloseNamespace Method