Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.72 KB

icorprofilerinfo3-getstringlayout2-method.md

File metadata and controls

57 lines (42 loc) · 1.72 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: ICorProfilerInfo3::GetStringLayout2 Method
ICorProfilerInfo3::GetStringLayout2 Method
03/30/2017
ICorProfilerInfo3.GetStringLayout2 Method
Mscorwks.dll
COM
ICorProfilerInfo3::GetStringLayout2
ICorProfilerInfo3::GetStringLayout2 method [.NET Framework profiling]
GetStringLayout2 method [.NET Framework profiling]
1a268496-ee51-4d84-8700-ee56fd0c499d
apiref

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: [!INCLUDEnet_current_v40plus]

See also