Share via


SymbolDisplayLocalOptions 列舉

定義

指定符號描述中如何顯示區域變數的選項。

此列舉支援其成員值的位元組合。

public enum class SymbolDisplayLocalOptions
[System.Flags]
public enum SymbolDisplayLocalOptions
[<System.Flags>]
type SymbolDisplayLocalOptions = 
Public Enum SymbolDisplayLocalOptions
繼承
SymbolDisplayLocalOptions
屬性

欄位

IncludeConstantValue 2

除了其名稱之外,還會顯示本機的常數值。 例如「x = 1」。

IncludeModifiers 4

ref包含 ref-locals 的關鍵字,以及範圍區域變數的 scoped 關鍵字。

IncludeRef 4

ref包含 ref-locals 的關鍵字,以及範圍區域變數的 scoped 關鍵字。 取代成 IncludeModifiers

IncludeType 1

除了其名稱之外,還會顯示本機的類型。 例如,C# 中的 「int x」 或 Visual Basic 中的 「x As Integer」。

None 0

只顯示本機的名稱。 例如,「x」。

適用於