Compartir a través de


Workspace.ApplyAdditionalDocumentAdded(DocumentInfo, SourceText) Método

Definición

Se llama a este método durante TryApplyChanges(Solution) para agregar un nuevo documento adicional a un proyecto.

Invalide este método para implementar la capacidad de agregar documentos adicionales.

protected:
 virtual void ApplyAdditionalDocumentAdded(Microsoft::CodeAnalysis::DocumentInfo ^ info, Microsoft::CodeAnalysis::Text::SourceText ^ text);
protected virtual void ApplyAdditionalDocumentAdded (Microsoft.CodeAnalysis.DocumentInfo info, Microsoft.CodeAnalysis.Text.SourceText text);
abstract member ApplyAdditionalDocumentAdded : Microsoft.CodeAnalysis.DocumentInfo * Microsoft.CodeAnalysis.Text.SourceText -> unit
override this.ApplyAdditionalDocumentAdded : Microsoft.CodeAnalysis.DocumentInfo * Microsoft.CodeAnalysis.Text.SourceText -> unit
Protected Overridable Sub ApplyAdditionalDocumentAdded (info As DocumentInfo, text As SourceText)

Parámetros

text
SourceText

Se aplica a