다음을 통해 공유


IVsFileUpgrade2 Interface

Definition

Performs file upgrades for specified versions as part of a project upgrade.

public interface class IVsFileUpgrade2
public interface class IVsFileUpgrade2
__interface IVsFileUpgrade2
[System.Runtime.InteropServices.Guid("F2394417-A219-4297-BB4E-E66864A6A7DB")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsFileUpgrade2
[System.Runtime.InteropServices.Guid("F2394417-A219-4297-BB4E-E66864A6A7DB")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFileUpgrade2
[<System.Runtime.InteropServices.Guid("F2394417-A219-4297-BB4E-E66864A6A7DB")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsFileUpgrade2 = interface
[<System.Runtime.InteropServices.Guid("F2394417-A219-4297-BB4E-E66864A6A7DB")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFileUpgrade2 = interface
Public Interface IVsFileUpgrade2
Attributes

Remarks

Your project should iterate through files in the project, identifying files to upgrade. It should check those files out of the source code control system, if necessary, and then upgrade the files.

Methods

UpgradeFile_CheckOnly(String, String, Int32, IVsUpgradeLogger, UInt16, UInt16, UInt16, UInt16, Int32)

Check if a specified tool can be upgraded.

UpgradeFile(String, String, Int32, IVsUpgradeLogger, UInt16, UInt16, UInt16, UInt16, Int32)

Upgrade project with a specified file.

Applies to