|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Edit and Continue (Visual Basic): Structure Member Declaration Edits
This topic applies to:
Pro and Team
Does not apply
Command or commands hidden by default.
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.