共用方式為


IVsFileUpgrade Interface

Definition

Performs file upgrades as part of a project upgrade.

public interface class IVsFileUpgrade
public interface class IVsFileUpgrade
__interface IVsFileUpgrade
[System.Runtime.InteropServices.Guid("5D2D55F2-E545-4301-9C22-52BC694CA76C")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsFileUpgrade
[<System.Runtime.InteropServices.Guid("5D2D55F2-E545-4301-9C22-52BC694CA76C")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsFileUpgrade = interface
Public Interface IVsFileUpgrade
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(String, String, Int32, IVsUpgradeLogger, Int32)

Upgrades a single file.

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

Checks if a file requires upgrading but does not perform the upgrade.

Applies to