StackFrameExtensions.GetNativeImageBase(StackFrame) 方法

定義

回傳指向該堆疊框架正在執行的原生映像的基址指標。

public:
[System::Runtime::CompilerServices::Extension]
 static IntPtr GetNativeImageBase(System::Diagnostics::StackFrame ^ stackFrame);
public static IntPtr GetNativeImageBase(this System.Diagnostics.StackFrame stackFrame);
static member GetNativeImageBase : System.Diagnostics.StackFrame -> nativeint
<Extension()>
Public Function GetNativeImageBase (stackFrame As StackFrame) As IntPtr

參數

stackFrame
StackFrame

一個堆疊框架。

傳回

IntPtr

nativeint

指向原生映像的基址指標,或是 Zero,如果你是針對 .NET 框架。

適用於

另請參閱