Condividi tramite


Metodo ICorProfilerInfo3::GetStringLayout2

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

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

Parametri

  • pStringLengthOffset
    [out] Puntatore all'offset del percorso, relativo al puntatore a ObjectID, in cui è archiviata la lunghezza della stringa vera e propria. La lunghezza è archiviata come DWORD.

  • pBufferOffset
    [out] Puntatore all'offset del buffer, relativo al puntatore a ObjectID, in cui è archiviata la stringa di caratteri wide.

Note

Le stringhe possono o non possono avere una terminazione null.

Requisiti

Piattaforme: vedere Requisiti di sistema di .NET Framework.

Intestazione: CorProf.idl, CorProf.h

Libreria: CorGuids.lib

Versioni di .NET Framework: 4

Vedere anche

Riferimenti

Interfaccia ICorProfilerInfo3

Altre risorse

Interfacce di profilatura