ITextDocumentFactoryService2 Interface   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public interface class ITextDocumentFactoryService2 : Microsoft::VisualStudio::Text::ITextDocumentFactoryServicepublic interface ITextDocumentFactoryService2 : Microsoft.VisualStudio.Text.ITextDocumentFactoryServicetype ITextDocumentFactoryService2 = interface
    interface ITextDocumentFactoryServicePublic Interface ITextDocumentFactoryService2
Implements ITextDocumentFactoryService- Implements
Remarks
Represents a service that creates, load, and disposes text documents. This is a MEF component part, and should be imported as follows: [Import] ITextDocumentFactoryService2 factory = null;
Methods
Events
| TextDocumentCreated | Occurs when an ITextDocument is created.(Inherited from ITextDocumentFactoryService) | 
| TextDocumentDisposed | Occurs when an ITextDocument is disposed.(Inherited from ITextDocumentFactoryService) |