Metodo ICorProfilerInfo3::GetStringLayout2

Ottiene informazioni sul layout di un oggetto stringa. Questo metodo sostituisce il metodo ICorProfilerInfo2::GetStringLayout .

Sintassi

HRESULT GetStringLayout2(  
    [out] ULONG *pStringLengthOffset,  
    [out] ULONG *pBufferOffset);  

Parametri

pStringLengthOffset
[out] Puntatore all'offset della posizione, rispetto al ObjectID puntatore, che archivia la lunghezza della stringa stessa. La lunghezza viene archiviata come .DWORD

pBufferOffset
[out] Puntatore all'offset del buffer, relativo al ObjectID puntatore, che archivia la stringa di caratteri wide.

Commenti

Le stringhe possono essere o meno terminate con null.

Requisiti

Piattaforme: vedere Requisiti di sistema di .NET Framework.

Intestazione: CorProf.idl, CorProf.h

Libreria: CorGuids.lib

Versioni di .NET Framework: Disponibile da 4

Vedi anche