Bagikan melalui


ITextViewModel.DataModel Property

Gets the ITextDataModel that supplies the DataBuffer and the governing IContentType for the view.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
ReadOnly Property DataModel As ITextDataModel
ITextDataModel DataModel { get; }
property ITextDataModel^ DataModel {
    ITextDataModel^ get ();
}
abstract DataModel : ITextDataModel
function get DataModel () : ITextDataModel

Property Value

Type: Microsoft.VisualStudio.Text.ITextDataModel
The ITextDataModel that supplies the DataBuffer and the governing IContentType for the view

.NET Framework Security

See Also

Reference

ITextViewModel Interface

Microsoft.VisualStudio.Text.Editor Namespace