Compartir a través de


Workspace.OnDocumentSourceCodeKindChanged(DocumentId, SourceCodeKind) Método

Definición

Llame a este método cuando sourceCodeKind de un documento cambie en el entorno 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

Se aplica a