IContentType 接口
对象的内容类型。
命名空间: Microsoft.VisualStudio.Utilities
程序集: Microsoft.VisualStudio.CoreUtility(在 Microsoft.VisualStudio.CoreUtility.dll 中)
语法
声明
Public Interface IContentType
public interface IContentType
public interface class IContentType
type IContentType = interface end
public interface IContentType
IContentType 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
BaseTypes | 获取当前 IContentType 派生的所有内容类型的集合。 | |
DisplayName | 获取内容类型的显示名称。 | |
TypeName | 获取内容类型的名称。 |
页首
方法
名称 | 说明 | |
---|---|---|
IsOfType | 确定此内容类型是否具有指定的基内容类型。 |
页首
备注
所有内容类型由一个唯一名称标识。 IContentTypeRegistryService 可以返回 IContentType 对象允许客户端访问其他信息。