IContentTypeRegistryService.ContentTypes 属性

获取所有内容类型(包括“未知”内容类型)的枚举。

命名空间:  Microsoft.VisualStudio.Utilities
程序集:  Microsoft.VisualStudio.CoreUtility(在 Microsoft.VisualStudio.CoreUtility.dll 中)

语法

声明
ReadOnly Property ContentTypes As IEnumerable(Of IContentType)
IEnumerable<IContentType> ContentTypes { get; }
property IEnumerable<IContentType^>^ ContentTypes {
    IEnumerable<IContentType^>^ get ();
}
abstract ContentTypes : IEnumerable<IContentType> with get
function get ContentTypes () : IEnumerable<IContentType>

属性值

类型:IEnumerable<IContentType>
内容类型。

.NET Framework 安全性

请参阅

参考

IContentTypeRegistryService 接口

Microsoft.VisualStudio.Utilities 命名空间