## StackTrace::GetFrame method


获取堆栈帧。

```cpp
virtual SharedPtr<StackFrame> System::Diagnostics::StackTrace::GetFrame(uint32_t index)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 索引 | uint32_t | 堆栈帧索引，必须在 0 到 FrameCount-1 之间。 |

### ReturnValue

可用的堆栈帧。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [StackFrame](../../stackframe/)
* Class [StackTrace](../)
* Namespace [System::Diagnostics](../../)
* Library [Aspose.Page for C++](../../../)
