Share via


TextDocumentSaveReason Enum

Definition

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.

Applies to