Compartir a través de


ITextDocumentFactoryService.CreateAndLoadTextDocument Method

Include Protected Members
Include Inherited Members

Creates an ITextDocument that opens and loads the contents the file into a new ITextBuffer.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  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.

Top

See Also

Reference

ITextDocumentFactoryService Interface

Microsoft.VisualStudio.Text Namespace