Share via


ISymUnmanagedScope::GetNamespaces Method

Gets the namespaces that are being used within this scope.

HRESULT GetNamespaces(
    [in]  ULONG32  cNameSpaces,
    [out] ULONG32  *pcNameSpaces,
    [out, size_is(cNameSpaces),
        length_is(*pcNameSpaces)]
        ISymUnmanagedNamespace* namespaces[]);

Parameters

  • cNameSpaces
    [in] The size of the namespaces array.

  • pcNameSpaces
    [out] A pointer to a ULONG32 that receives the size of the buffer required to contain the namespaces.

  • namespaces
    [out] The array that receives the namespaces.

Return Value

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

Requirements

Header: CorSym.idl

See Also

Concepts

ISymUnmanagedScope Interface