Partilhar via


SymbolDisplayLocalOptions Enum

Definition

Specifies the options for how locals are displayed in the description of a symbol.

This enumeration supports a bitwise combination of its member values.

public enum class SymbolDisplayLocalOptions
[System.Flags]
public enum SymbolDisplayLocalOptions
[<System.Flags>]
type SymbolDisplayLocalOptions = 
Public Enum SymbolDisplayLocalOptions
Inheritance
SymbolDisplayLocalOptions
Attributes

Fields

Name Value Description
None 0

Shows only the name of the local. For example, "x".

IncludeType 1

Shows the type of the local in addition to its name. For example, "int x" in C# or "x As Integer" in Visual Basic.

IncludeConstantValue 2

Shows the constant value of the local, if there is one, in addition to its name. For example "x = 1".

IncludeModifiers 4

Includes the ref keyword for ref-locals and the scoped keyword for scoped locals.

IncludeRef 4

Includes the ref keyword for ref-locals and the scoped keyword for scoped locals. Replaced by IncludeModifiers.

Applies to