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。
備註
通常這個內容型別等同於IContentType的DocumentBuffer,但不一定永遠符合上述情況。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。