Share via


ISymUnmanagedWriter::UsingNamespace Method

Specifies that the given fully qualified namespace name is being used within the currently open lexical scope. The namespace will be used within all scopes that inherit from the currently open scope. Closing the current scope will also stop the use of the namespace.

HRESULT UsingNamespace(
    [in] const WCHAR *fullName);

Parameters

  • fullName
    [in] A pointer to the fully qualified name of the namespace.

Return Value

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

Requirements

Header: CorSym.idl

See Also

Concepts

ISymUnmanagedWriter Interface