ICorProfilerInfo3::GetStringLayout2 Method
Gets information about the layout of a string object. This method supersedes the ICorProfilerInfo2::GetStringLayout method.
Syntax
HRESULT GetStringLayout2(
[out] ULONG *pStringLengthOffset,
[out] ULONG *pBufferOffset);
Parameters
pStringLengthOffset
[out] A pointer to the offset of the location, relative to the ObjectID
pointer, that stores the length of the string itself. The length is stored as a DWORD
.
pBufferOffset
[out] A pointer to the offset of the buffer, relative to the ObjectID
pointer, which stores the string of wide characters.
Remarks
Strings may or may not be null-terminated.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.