获取所有内容类型(包括“未知”内容类型)的枚举。
命名空间: 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。