共用方式為


IContentType.BaseTypes 屬性

要從中取得所有的內容類型集目前的IContentType衍生而來。

命名空間:  Microsoft.VisualStudio.Utilities
組件:  Microsoft.VisualStudio.CoreUtility (在 Microsoft.VisualStudio.CoreUtility.dll 中)

語法

'宣告
ReadOnly Property BaseTypes As IEnumerable(Of IContentType)
IEnumerable<IContentType> BaseTypes { get; }
property IEnumerable<IContentType^>^ BaseTypes {
    IEnumerable<IContentType^>^ get ();
}
abstract BaseTypes : IEnumerable<IContentType> with get
function get BaseTypes () : IEnumerable<IContentType>

屬性值

類型:IEnumerable<IContentType>
一組衍生目前 IContentType 的所有內容類型。此值雖然可能是空集合,但一定不會是 nullnull 參考 (即 Visual Basic 中的 Nothing)。

.NET Framework 安全性

請參閱

參考

IContentType 介面

Microsoft.VisualStudio.Utilities 命名空間