Share via


ISymUnmanagedNamespace::GetName Method

Gets the name of this namespace.

HRESULT GetName(
    [in]  ULONG32  cchName,
    [out] ULONG32  *pcchName,
    [out, size_is(cchName),
        length_is(*pcchName)] WCHAR szName[]);

Parameters

  • cchName
    [in] A ULONG32 that indicates the size of the szName buffer.
  • pcchName
    [out] A pointer to a ULONG32 that receives the size, in characters, of the buffer required to contain the namespace name, including the null termination.
  • szName
    [out] A pointer to a buffer that contains the namespace name.

Return Value

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

Requirements

Header: CorSym.idl

See Also

Reference

ISymUnmanagedNamespace Interface