该类及其成员保留供内部使用,不应在代码中使用。
此 API 不兼容 CLS。
继承层次结构
System.Object
  Microsoft.VisualStudio.Shell.Package
    Microsoft.VisualStudio.Data.Schema.Package.Project.Internal.ProjectPackage
      Microsoft.VisualStudio.Data.Schema.Package.Sql.UI.SqlPackage
      Microsoft.VisualStudio.Data.Schema.Package.UI.DataPackage
命名空间:  Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
程序集:  Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
Public MustInherit Class ProjectPackage _
    Inherits Package
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public abstract class ProjectPackage : Package
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public ref class ProjectPackage abstract : public Package
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
[<ComVisibleAttribute(true)>]
type ProjectPackage =  
    class
        inherit Package
    end
public abstract class ProjectPackage extends Package
ProjectPackage 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
| .gif) | ProjectPackage | 该类及其成员保留供内部使用,不应在代码中使用。 | 
页首
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | ApplicationRegistryRoot | (继承自 Package。) | 
| .gif) | ServiceProvider | 该类及其成员保留供内部使用,不应在代码中使用。 | 
| .gif) | UserDataPath | (继承自 Package。) | 
| .gif) | UserLocalDataPath | (继承自 Package。) | 
| .gif) | UserRegistryRoot | (继承自 Package。) | 
| .gif) | Zombied | (继承自 Package。) | 
页首
方法
页首
事件
| 名称 | 说明 | |
|---|---|---|
| .gif) | ToolboxInitialized | (继承自 Package。) | 
| .gif) | ToolboxUpgraded | (继承自 Package。) | 
页首
显式接口实现
| 名称 | 说明 | |
|---|---|---|
| .gif) .gif) | IServiceContainer.AddService(Type, Object) | (继承自 Package。) | 
| .gif) .gif) | IServiceContainer.AddService(Type, ServiceCreatorCallback) | (继承自 Package。) | 
| .gif) .gif) | IServiceContainer.AddService(Type, Object, Boolean) | (继承自 Package。) | 
| .gif) .gif) | IServiceContainer.AddService(Type, ServiceCreatorCallback, Boolean) | (继承自 Package。) | 
| .gif) .gif) | IVsPackage.Close | (继承自 Package。) | 
| .gif) .gif) | IVsToolWindowFactory.CreateToolWindow | (继承自 Package。) | 
| .gif) .gif) | IOleCommandTarget.Exec | (继承自 Package。) | 
| .gif) .gif) | IVsUserSettings.ExportSettings | (继承自 Package。) | 
| .gif) .gif) | IVsPackage.GetAutomationObject | (继承自 Package。) | 
| .gif) .gif) | IVsToolboxItemProvider.GetItemContent | (继承自 Package。) | 
| .gif) .gif) | IVsPackage.GetPropertyPage | (继承自 Package。) | 
| .gif) .gif) | IServiceProvider.GetService | (继承自 Package。) | 
| .gif) .gif) | IVsUserSettings.ImportSettings | (继承自 Package。) | 
| .gif) .gif) | IVsPersistSolutionOpts.LoadUserOptions | (继承自 Package。) | 
| .gif) .gif) | IVsUserSettingsMigration.MigrateSettings | (继承自 Package。) | 
| .gif) .gif) | IVsPackage.QueryClose | (继承自 Package。) | 
| .gif) .gif) | IServiceProvider.QueryService | (继承自 Package。) | 
| .gif) .gif) | IOleCommandTarget.QueryStatus | (继承自 Package。) | 
| .gif) .gif) | IVsPersistSolutionOpts.ReadUserOptions | (继承自 Package。) | 
| .gif) .gif) | IServiceContainer.RemoveService(Type) | (继承自 Package。) | 
| .gif) .gif) | IServiceContainer.RemoveService(Type, Boolean) | (继承自 Package。) | 
| .gif) .gif) | IVsPackage.ResetDefaults | (继承自 Package。) | 
| .gif) .gif) | IVsPersistSolutionOpts.SaveUserOptions | (继承自 Package。) | 
| .gif) .gif) | IVsPackage.SetSite | (继承自 Package。) | 
| .gif) .gif) | IVsPersistSolutionOpts.WriteUserOptions | (继承自 Package。) | 
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参见
参考
Microsoft.VisualStudio.Data.Schema.Package.Project.Internal 命名空间
.gif)
.gif)