Partilhar via


Editar e continuar (Visual Basic): Edições de constantes

This topic applies to:

Edition

Visual Basic

C#

F#

C++

Web Developer

Express

O tópico é aplicável O tópico não é aplicável O tópico não é aplicável O tópico não é aplicável O tópico é aplicável

Pro, Premium e Ultimate

O tópico é aplicável O tópico não é aplicável O tópico não é aplicável O tópico não é aplicável O tópico é aplicável

Changes to constants while in Edit and Continue mode are very limited. Specifically, Edit and Continue does not support the following changes:

  • Defining a new constant, unless the constant is private and there are no occurrences of the constant name in any active statement.

  • Changing the type or value of a constant.

  • Removing a constant.

If you want to make one of these changes, you must stop debugging and recompile your project.

There is no limit on adding, changing, or removing local constants inside a method body.

Consulte também

Tarefas

Como: Aplicar edições no modo de interrupção com editar e continuar

Referência

Editar e continuar (Visual Basic): Não há suporte para edições de declaração

Editar e continuar (Visual Basic): Edição de enumeração

Outros recursos

Editar e continuar (Visual Basic)