ITextDataModel.ContentType 属性

文本数据模型的 IContentType

命名空间:  Microsoft.VisualStudio.Text
程序集:  Microsoft.VisualStudio.Text.Logic(在 Microsoft.VisualStudio.Text.Logic.dll 中)

语法

声明
ReadOnly Property ContentType As IContentType
IContentType ContentType { get; }
property IContentType^ ContentType {
    IContentType^ get ();
}
abstract ContentType : IContentType with get
function get ContentType () : IContentType

属性值

类型:Microsoft.VisualStudio.Utilities.IContentType
文本数据模型的 IContentType

备注

通常此内容类型相同。 DocumentBufferIContentType ,但是,这并不总是必须是用例。

.NET Framework 安全性

请参阅

参考

ITextDataModel 接口

Microsoft.VisualStudio.Text 命名空间