共用方式為


DocumentOnTypeFormattingParams Class

Definition

Class representing the parameters sent for a textDocument/onTypeFormatting request.

See the Language Server Protocol specification for additional information.

public ref class DocumentOnTypeFormattingParams
public ref class DocumentOnTypeFormattingParams : Microsoft::VisualStudio::LanguageServer::Protocol::TextDocumentPositionParams
[System.Runtime.Serialization.DataContract]
public class DocumentOnTypeFormattingParams
[System.Runtime.Serialization.DataContract]
public class DocumentOnTypeFormattingParams : Microsoft.VisualStudio.LanguageServer.Protocol.TextDocumentPositionParams
[<System.Runtime.Serialization.DataContract>]
type DocumentOnTypeFormattingParams = class
[<System.Runtime.Serialization.DataContract>]
type DocumentOnTypeFormattingParams = class
    inherit TextDocumentPositionParams
Public Class DocumentOnTypeFormattingParams
Public Class DocumentOnTypeFormattingParams
Inherits TextDocumentPositionParams
Inheritance
DocumentOnTypeFormattingParams
Inheritance
DocumentOnTypeFormattingParams
Attributes

Constructors

DocumentOnTypeFormattingParams()

Properties

Character

Gets or sets the character that was typed.

Options

Gets or sets the FormattingOptions for the request.

Position

Gets or sets the Position at which the request was sent.

Position

Gets or sets the value which indicates the position within the document.

(Inherited from TextDocumentPositionParams)
TextDocument

Gets or sets the TextDocumentIdentifier representing the document to format.

TextDocument

Gets or sets the value which identifies the document.

(Inherited from TextDocumentPositionParams)

Applies to