共用方式為


ITextBufferFactoryService.CreateTextBuffer Method

Include Protected Members
Include Inherited Members

Creates a 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 CreateTextBuffer() Creates an empty ITextBuffer with IContentType "text".
Public method CreateTextBuffer(IContentType) Creates an empty ITextBuffer with the specified IContentType.
Public method CreateTextBuffer(TextReader, IContentType) Creates an ITextBuffer with the given content type and populates it by reading data from the specified text reader.
Public method CreateTextBuffer(String, IContentType) Creates an ITextBuffer with the specified IContentType and populates it with the given text.

Top

See Also

Reference

ITextBufferFactoryService Interface

Microsoft.VisualStudio.Text Namespace