Partilhar via


ITextDataModel.ContentType Property

Definition

The IContentType of the text data model. Usually this is the same as the IContentType of the DocumentBuffer but it need not be.

public:
 property Microsoft::VisualStudio::Utilities::IContentType ^ ContentType { Microsoft::VisualStudio::Utilities::IContentType ^ get(); };
public:
 property Microsoft::VisualStudio::Utilities::IContentType ^ ContentType { Microsoft::VisualStudio::Utilities::IContentType ^ get(); };
public Microsoft.VisualStudio.Utilities.IContentType ContentType { get; }
member this.ContentType : Microsoft.VisualStudio.Utilities.IContentType
Public ReadOnly Property ContentType As IContentType

Property Value

The IContentType of the text data model.

Remarks

Usually this content type is the same as the IContentType of the DocumentBuffer, but this is not necessarily always the case.

Applies to