ICorProfilerInfo3::GetStringLayout2 Method
Gets information about the layout of a string object. This method supersedes the ICorProfilerInfo2::GetStringLayout method.
HRESULT GetStringLayout2(
[out] ULONG *pStringLengthOffset,
[out] ULONG *pBufferOffset);
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.
Strings may or may not be null-terminated.
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4
.NET feedback
.NET is an open source project. Select a link to provide feedback: