ITextDocumentFactoryService Methods

Include Protected Members
Include Inherited Members

The ITextDocumentFactoryService type exposes the following members.

Methods

  Name Description
Public method CreateAndLoadTextDocument(String, IContentType) Creates an ITextDocument that opens and loads the contents of the file into a new ITextBuffer.
Public method CreateAndLoadTextDocument(String, IContentType, Boolean, Boolean%) Creates an ITextDocument that opens and loads the contents of the file into a new ITextBuffer.
Public method CreateAndLoadTextDocument(String, IContentType, Encoding, Boolean%) Creates an ITextDocument that opens and loads the contents of the file into a new ITextBuffer.
Public method CreateTextDocument Creates an ITextDocument with textBuffer, which is to be saved to the file.
Public method TryGetTextDocument Retrieve an ITextDocument for the given buffer, if one exists.

Top

See Also

Reference

ITextDocumentFactoryService Interface

Microsoft.VisualStudio.Text Namespace