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);
[in] A pointer to the fully qualified name of the namespace.
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Header: CorSym.idl, CorSym.h
Submit and view feedback for