ITextDocumentFactoryService Methods

 

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

NameDescription
System_CAPS_pubmethodCreateAndLoadTextDocument(String^, IContentType^)

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

System_CAPS_pubmethodCreateAndLoadTextDocument(String^, IContentType^, Boolean, Boolean)

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

System_CAPS_pubmethodCreateAndLoadTextDocument(String^, IContentType^, Encoding^, Boolean)

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

System_CAPS_pubmethodCreateTextDocument(ITextBuffer^, String^)

Creates an ITextDocument with textBuffer, which is to be saved to the file.

System_CAPS_pubmethodTryGetTextDocument(ITextBuffer^, ITextDocument^)

Retrieve an ITextDocument for the given buffer, if one exists.

Return to top
Show: