Condividi tramite


Proprietà StackFrame2.Depth

Ottiene la profondità del frame nello stack. Proprietà di sola lettura.

Spazio dei nomi:  EnvDTE90a
Assembly:  EnvDTE90a (in EnvDTE90a.dll)

Sintassi

'Dichiarazione
ReadOnly Property Depth As UInteger
uint Depth { get; }
property unsigned int Depth {
    unsigned int get ();
}
abstract Depth : uint32 with get
function get Depth () : uint

Valore proprietà

Tipo: UInt32
Valore che indica la profondità del frame nello stack.Questo valore è a base 1, non a base 0.In altre parole, il frame superiore sullo stack è il numero 1, non il numero 0.

Note

È possibile utilizzare il valore per identificare in modo univoco un'istanza di un frame agli utenti. Può essere utile soprattutto nelle chiamate ricorsive.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

StackFrame2 Interfaccia

Spazio dei nomi EnvDTE90a