ICorDebugStaticFieldSymbol::GetName Method

Gets the name of the static field.

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 [out] A character array that stores the returned 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