ISymbolScope 介面
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表 ISymbolMethod 內的語彙範圍,提供範圍之起始和結束位移的存取,以及其子系和父代範圍的存取。
public interface class ISymbolScope
C#
public interface ISymbolScope
C#
[System.Runtime.InteropServices.ComVisible(true)]
public interface ISymbolScope
type ISymbolScope = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type ISymbolScope = interface
Public Interface ISymbolScope
- 衍生
- 屬性
介面 ISymbolScope 也提供目前範圍內定義之所有局部變數的存取權。
注意
這個介面是 介面的 ISymUnmanagedScope
Managed對應專案,這是其中一個 Unmanaged 符號存放區介面,可提供讀取和寫入偵錯符號資訊的替代方式。
End |
取得目前語彙範圍的結束位移。 |
Method |
取得包含目前語彙範圍的方法。 |
Parent |
取得目前範圍的父語彙範圍。 |
Start |
取得目前語彙範圍的起始位移。 |
Get |
取得目前語彙範圍的子語彙範圍。 |
Get |
取得目前語彙範圍內的區域變數。 |
Get |
取得在目前範圍內使用的命名空間。 |
產品 | 版本 |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |