共用方式為


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

備註

通常這個內容型別等同於IContentTypeDocumentBuffer,但不一定永遠符合上述情況。

.NET Framework 安全性

請參閱

參考

ITextDataModel 介面

Microsoft.VisualStudio.Text 命名空間