Share via


ICorDebugAssembly::GetName Method

Gets the name of the assembly that this ICorDebugAssembly instance represents.

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

Parameters

  • cchName
    [in] The size of the szName array.
  • pcchName
    [out] A pointer to an integer that specifies the actual length of the name.
  • szName
    [out] An array that stores the name.

Remarks

The GetName method returns the full path and file name of the assembly.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

ICorDebugAssembly Interface