TextDocumentSaveReason 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.
Enum representing the reason a document was saved.
See the Language Server Protocol specification for additional information.
public enum class TextDocumentSaveReason
[System.Runtime.Serialization.DataContract]
public enum TextDocumentSaveReason
[<System.Runtime.Serialization.DataContract>]
type TextDocumentSaveReason =
Public Enum TextDocumentSaveReason
- Inheritance
-
TextDocumentSaveReason
- Attributes
Fields
Name | Value | Description |
---|---|---|
Manual | 1 | Save was manually triggered. |
AfterDelay | 2 | Save was automatic after some delay. |
FocusOut | 3 | Save was automatic after the editor lost focus. |