Condividi tramite


ITextDataModel.ContentType Property

The IContentType of the text data model.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Dichiarazione
ReadOnly Property ContentType As IContentType
    Get
IContentType ContentType { get; }
property IContentType^ ContentType {
    IContentType^ get ();
}
abstract ContentType : IContentType
function get ContentType () : IContentType

Property Value

Type: Microsoft.VisualStudio.Utilities.IContentType
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.

.NET Framework Security

See Also

Reference

ITextDataModel Interface

Microsoft.VisualStudio.Text Namespace