ITextDocumentFactoryService 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.
Represents a service that creates, loads, and disposes text documents.
public interface class ITextDocumentFactoryService
public interface class ITextDocumentFactoryService
__interface ITextDocumentFactoryService
public interface ITextDocumentFactoryService
type ITextDocumentFactoryService = interface
Public Interface ITextDocumentFactoryService
- Derived
Remarks
Represents a service that creates, load, and disposes text documents. This is a MEF component part, and should be imported as follows: [Import] ITextDocumentFactoryService factory = null;
Methods
CreateAndLoadTextDocument(String, IContentType, Boolean, Boolean) |
Creates an ITextDocument that opens and loads the contents of |
CreateAndLoadTextDocument(String, IContentType, Encoding, Boolean) |
Creates an ITextDocument that opens and loads the contents of |
CreateAndLoadTextDocument(String, IContentType) |
Creates an ITextDocument that opens and loads the contents of |
CreateTextDocument(ITextBuffer, String) |
Creates an ITextDocument with |
TryGetTextDocument(ITextBuffer, ITextDocument) |
Retrieve an ITextDocument for the given buffer, if one exists. |
Events
TextDocumentCreated |
Occurs when an ITextDocument is created. |
TextDocumentDisposed |
Occurs when an ITextDocument is disposed. |