StackWalker.IStackFrame.ByteCodeIndex 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得該堆疊框架在方法的 Dalvik 位元碼中所代表指令的索引。
public int ByteCodeIndex { [Android.Runtime.Register("getByteCodeIndex", "()I", "GetGetByteCodeIndexHandler:Java.Lang.StackWalker/IStackFrameInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getByteCodeIndex", "()I", "GetGetByteCodeIndexHandler:Java.Lang.StackWalker/IStackFrameInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
member this.ByteCodeIndex : int
屬性值
Dalvik code_iteminsns 陣列中的 16 位元編碼單位索引,若該方法為原生,則為負數。
- 屬性
備註
回傳包含此堆疊框架所代表執行點的 Dalvik code_item陣 insns 列中的索引。 索引以 16 位元編碼單位衡量。 對於原生方法,回傳負數。