获取当前 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。