Partager via


IVsFileUpgrade Interface

Performs file upgrades as part of a project upgrade.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
<GuidAttribute("5D2D55F2-E545-4301-9C22-52BC694CA76C")> _
<InterfaceTypeAttribute()> _
Public Interface IVsFileUpgrade
[GuidAttribute("5D2D55F2-E545-4301-9C22-52BC694CA76C")]
[InterfaceTypeAttribute()]
public interface IVsFileUpgrade
[GuidAttribute(L"5D2D55F2-E545-4301-9C22-52BC694CA76C")]
[InterfaceTypeAttribute()]
public interface class IVsFileUpgrade
[<GuidAttribute("5D2D55F2-E545-4301-9C22-52BC694CA76C")>]
[<InterfaceTypeAttribute()>]
type IVsFileUpgrade =  interface end
public interface IVsFileUpgrade

The IVsFileUpgrade type exposes the following members.

Methods

  Name Description
Public method UpgradeFile Upgrades a single file.
Public method UpgradeFile_CheckOnly Checks if a file requires upgrading but does not perform the upgrade.

Top

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace

IVsProjectUpgrade