Share via


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 Framework 為目標)。

適用於

另請參閱