ICorDebugMergedAssemblyRecord::GetSimpleName Method

Gets the simple name of the assembly.

Syntax

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

Parameters

cchName [in] The number of characters in the szName buffer.

pcchName [out] A pointer to the number of characters actually written to the szName buffer.

szName A pointer to a character array.

Remarks

This method retrieves the simple name of an assembly (such as "System.Collections"), without a file extension, version, culture, or public key token. It corresponds to the AssemblyName.Name property in managed code.

Note

This method is available with .NET Native only.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.6, .NET Native only

See also