ICorDebugAssembly::GetName Method

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

Syntax

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: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0