ITextDataModel Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prepares the ITextBuffer for presentation in the editor. Typically the ITextDataModel comprises a single ITextBuffer that is exposed as both the DocumentBuffer and the DataBuffer. However, in some cases, a graph of IProjectionBuffers is useful to present as it if were a single document. In that case, the DataBuffer will be an IProjectionBuffer that uses the DocumentBuffer as a source buffer, directly or indirectly.
public interface class ITextDataModel
public interface class ITextDataModel
__interface ITextDataModel
public interface ITextDataModel
type ITextDataModel = interface
Public Interface ITextDataModel
The ContentType usually is the same as that of the DocumentBuffer
Content |
The IContentType of the text data model. Usually this is the same as the IContentType of the DocumentBuffer but it need not be. |
Data |
Gets the ITextBuffer that should be presented in the editor. |
Document |
Gets the ITextBuffer corresponding to a document in the file system. |
Content |
Raised when the ContentType of this text data model changes. |