IExtensionContent 接口

表示 VSIX 清单中的 内容 元素包含的所有元数据。

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

语法

声明
Public Interface IExtensionContent
public interface IExtensionContent
public interface class IExtensionContent
type IExtensionContent =  interface end
public interface IExtensionContent

IExtensionContent 类型公开以下成员。

属性

  名称 说明
公共属性 AdditionalElements
公共属性 Attributes 目录的属性。
公共属性 ContentTypeName 内容的类型。
公共属性 RelativePath 相对于该扩展的根目录的路径。

页首

备注

尽管此 API 支持 扩展管理器 基础结构,不建议使用它,因为它可能会发生更改。

有关 VSIX 清单的更多信息,请参见 VSIX 扩展架构参考。 有关扩展部署的更多信息,请 Visual Studio 扩展部署参见。

请参阅

参考

Microsoft.VisualStudio.ExtensionManager 命名空间