Partilhar via


Workspace.OnDocumentSourceCodeKindChanged(DocumentId, SourceCodeKind) Método

Definição

Chame esse método quando o SourceCodeKind de um documento for alterado no ambiente do host.

protected public:
 void OnDocumentSourceCodeKindChanged(Microsoft::CodeAnalysis::DocumentId ^ documentId, Microsoft::CodeAnalysis::SourceCodeKind sourceCodeKind);
protected internal void OnDocumentSourceCodeKindChanged (Microsoft.CodeAnalysis.DocumentId documentId, Microsoft.CodeAnalysis.SourceCodeKind sourceCodeKind);
member this.OnDocumentSourceCodeKindChanged : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.SourceCodeKind -> unit
Protected Friend Sub OnDocumentSourceCodeKindChanged (documentId As DocumentId, sourceCodeKind As SourceCodeKind)

Parâmetros

documentId
DocumentId
sourceCodeKind
SourceCodeKind

Aplica-se a