WorkspaceChangeKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum class WorkspaceChangeKind
public enum WorkspaceChangeKind
type WorkspaceChangeKind =
Public Enum WorkspaceChangeKind
- Inheritance
-
WorkspaceChangeKind
Fields
Name | Value | Description |
---|---|---|
SolutionChanged | 0 | The current solution changed for an unspecified reason. |
SolutionAdded | 1 | A solution was added to the workspace. |
SolutionRemoved | 2 | The current solution was removed from the workspace. |
SolutionCleared | 3 | The current solution was cleared of all projects and documents. |
SolutionReloaded | 4 | The current solution was reloaded. |
ProjectAdded | 5 | A project was added to the current solution. |
ProjectRemoved | 6 | A project was removed from the current solution. |
ProjectChanged | 7 | A project in the current solution was changed. |
ProjectReloaded | 8 | A project in the current solution was reloaded. |
DocumentAdded | 9 | A document was added to the current solution. |
DocumentRemoved | 10 | A document was removed from the current solution. |
DocumentReloaded | 11 | A document in the current solution was reloaded. |
DocumentChanged | 12 | A document in the current solution was changed. When linked files are edited, one DocumentChanged event is fired per linked file. All of these events contain the same OldSolution, and they all contain the same NewSolution. This is so that we can trigger document change events on all affected documents without reporting intermediate states in which the linked file contents do not match. Each DocumentChanged event does not represent an incremental update from the previous event in this special case. |
AdditionalDocumentAdded | 13 | An additional document was added to the current solution. |
AdditionalDocumentRemoved | 14 | An additional document was removed from the current solution. |
AdditionalDocumentReloaded | 15 | An additional document in the current solution was reloaded. |
AdditionalDocumentChanged | 16 | An additional document in the current solution was changed. |
DocumentInfoChanged | 17 | The document in the current solution had is info changed; name, folders, filepath |
AnalyzerConfigDocumentAdded | 18 | An analyzer config document was added to the current solution. |
AnalyzerConfigDocumentRemoved | 19 | An analyzer config document was removed from the current solution. |
AnalyzerConfigDocumentReloaded | 20 | An analyzer config document in the current solution was reloaded. |
AnalyzerConfigDocumentChanged | 21 | An analyzer config document in the current solution was changed. |