Compartilhar via


Edit and Continue (Visual Basic): Structure Member Declaration Edits 

This topic applies to:

Visual Studio Edition

Visual Basic

C#

C++

J#

Express Edition

Yes

No

No

No

Standard Edition

Yes

No

No

No

Pro/Team Edition

Yes

No

No

No

Using Edit and Continue, you can make a variety of changes to structure members (properties, methods, and fields) while in Break mode. Some changes, however, are not supported, most notably changes that affect the declaration of structure members. Specifically, Edit and Continue does not support the following changes:

  • Adding or removing a property or method, including constructor methods (unless the method is Private and there are no occurrences of the field name in any active statement).

  • Changing the signature of a property or method.

  • Editing any method that uses generics.

  • Changing whether a property or method declaration implements an interface.

  • Changing the access modifiers of a property or method (for example, changing Public to Private).

  • Adding or removing a field.

  • Changing the type of a field.

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

See Also

Tasks

How to: Apply Edits in Break Mode with Edit and Continue

Reference

Edit and Continue (Visual Basic): Unsupported Declaration Edits
Edit and Continue (Visual Basic): Class Member Declaration Edits
Edit and Continue (Visual Basic): Module Member Declaration Edits

Other Resources

Edit and Continue (Visual Basic)