ITextBuffer.ContentType 属性

获取缓冲区中的文本内容类型。

命名空间:  Microsoft.VisualStudio.Text
程序集:  Microsoft.VisualStudio.Text.Data(在 Microsoft.VisualStudio.Text.Data.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
缓冲区中的文本内容类型。

.NET Framework 安全性

请参阅

参考

ITextBuffer 接口

Microsoft.VisualStudio.Text 命名空间