Freigeben über


ITextBufferFactoryService3 Interface

Definition

The factory service for ordinary TextBuffers.

public interface class ITextBufferFactoryService3 : Microsoft::VisualStudio::Text::ITextBufferFactoryService
public interface ITextBufferFactoryService3 : Microsoft.VisualStudio.Text.ITextBufferFactoryService
type ITextBufferFactoryService3 = interface
    interface ITextBufferFactoryService
Public Interface ITextBufferFactoryService3
Implements ITextBufferFactoryService
Implements

Remarks

This is a MEF Component, and should be imported as follows:

[Import]
ITextBufferFactoryService factory = null;

Any ITextBufferFactoryService will be upcastable to an ITextBufferFactoryService3.

Properties

InertContentType

A content type for which no associated artifacts are automatically created.

(Inherited from ITextBufferFactoryService)
PlaintextContentType

Predefined content type for plain text files.

(Inherited from ITextBufferFactoryService)
TextContentType

Predefined default content type. This is the base type for most content types.

(Inherited from ITextBufferFactoryService)

Methods

CreateTextBuffer()

Creates an empty ITextBuffer with IContentType "text".

(Inherited from ITextBufferFactoryService)
CreateTextBuffer(IContentType)

Creates an empty ITextBuffer with the specified IContentType.

(Inherited from ITextBufferFactoryService)
CreateTextBuffer(ITextImage, IContentType)

Creates an ITextBuffer with the specified IContentType and populates it with the text contained in image.

CreateTextBuffer(SnapshotSpan, IContentType)

Creates an ITextBuffer with the specified IContentType and populates it with the given text contained in span.

CreateTextBuffer(String, IContentType)

Creates an ITextBuffer with the specified IContentType and populates it with the given text.

(Inherited from ITextBufferFactoryService)
CreateTextBuffer(TextReader, IContentType, Int64, String)

Creates an ITextBuffer with the given contentType and populates it by reading data from the specified TextReader.

CreateTextBuffer(TextReader, IContentType)

Creates an ITextBuffer with the given contentType and populates it by reading data from the specified TextReader.

(Inherited from ITextBufferFactoryService)

Events

TextBufferCreated

Raised when any ITextBuffer is created.

(Inherited from ITextBufferFactoryService)

Applies to