共用方式為


IVsProjectUpgradeViaFactory4 Interface

Definition

Upgrades the project using the project factory. Used by the solution before opening the project. This interface must be available through querying the project factory

public interface class IVsProjectUpgradeViaFactory4
public interface class IVsProjectUpgradeViaFactory4
__interface IVsProjectUpgradeViaFactory4
[System.Runtime.InteropServices.Guid("9BE1F919-4C3C-45B7-9816-E04053F8ECC6")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProjectUpgradeViaFactory4
[<System.Runtime.InteropServices.Guid("9BE1F919-4C3C-45B7-9816-E04053F8ECC6")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProjectUpgradeViaFactory4 = interface
Public Interface IVsProjectUpgradeViaFactory4
Attributes

Remarks

This interface is optional, but is recommended for all projects to support the new upgrade method. This interface provides support for projects to return specialized upgrade options. The user can choose which projects to upgrade using the compatibility dialog.

Methods

UpgradeProject_CheckOnly(String, IVsUpgradeLogger, UInt32, Guid, UInt32)

Checks to see if a project needs to be upgraded.

Applies to