Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Gets the file name of the module.
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
[in] A pointer to the length of the returned name.
szName
[out] An array that stores the returned name.
Remarks
The GetName method returns an S_OK HRESULT if the module's file name matches the name on disk. GetName returns an S_FALSE HRESULT if the name is fabricated, such as for a dynamic or in-memory module.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 1.0