ITextSnapshot.ContentType 属性

,在此快照,获取当前 TextBufferIContentType

命名空间:  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
IContentType

.NET Framework 安全性

请参阅

参考

ITextSnapshot 接口

Microsoft.VisualStudio.Text 命名空间