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

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugAssembly Interface