StackFrame2::Depth Property
Visual Studio 2015
Gets the depth of the frame in the stack. A read-only property.
Assembly: EnvDTE90a (in EnvDTE90a.dll)
Property Value
Type: System::UInt32A value indicating how deeply the frame lies within the stack. This value is 1-based, not 0-based. In other words, the top frame on the stack is number 1, not number 0.
You can use the value to uniquely identify an instance of a frame to consumers. This can be especially useful in recursive calls.
Show: