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