Freigeben über


ITextViewModelProvider Interface

Provides ITextViewModel objects.

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

Syntax

'Declaration
Public Interface ITextViewModelProvider
public interface ITextViewModelProvider
public interface class ITextViewModelProvider
type ITextViewModelProvider =  interface end
public interface ITextViewModelProvider

The ITextViewModelProvider type exposes the following members.

Methods

  Name Description
Public method CreateTextViewModel Creates an ITextViewModel for the given ITextDataModel.

Top

Remarks

This is a MEF component part, and should be exported with the following attribute:

[Export(typeof(ITextModelProvider))] 

Component exporters must specify at least one ContentTypeAttribute characterizing the data models to which they apply.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace