다음을 통해 공유


ITextBufferFactoryService Interface

Definition

The factory service for ordinary TextBuffers.

public interface class ITextBufferFactoryService
public interface class ITextBufferFactoryService
__interface ITextBufferFactoryService
public interface ITextBufferFactoryService
type ITextBufferFactoryService = interface
Public Interface ITextBufferFactoryService
Derived

Remarks

This is a MEF Component, and should be imported as follows: [Import] ITextBufferFactoryService factory = null;

Properties

InertContentType

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

PlaintextContentType

Predefined content type for plain text files.

TextContentType

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

Methods

CreateTextBuffer()

Creates an empty ITextBuffer with IContentType "text".

CreateTextBuffer(IContentType)

Creates an empty ITextBuffer with the specified IContentType.

CreateTextBuffer(String, IContentType)

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

CreateTextBuffer(TextReader, IContentType)

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

Events

TextBufferCreated

Raised when any ITextBuffer is created.

Applies to