ICorDebugVariableSymbol::GetName Method

Gets the name of a variable.

Syntax

HRESULT GetName(
   [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 that contains the variable name.

Remarks

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