共用方式為


IVsFileUpgrade2 Interface

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

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

Syntax

'宣告
<GuidAttribute("F2394417-A219-4297-BB4E-E66864A6A7DB")> _
<InterfaceTypeAttribute()> _
Public Interface IVsFileUpgrade2
'用途
Dim instance As IVsFileUpgrade2
[GuidAttribute("F2394417-A219-4297-BB4E-E66864A6A7DB")]
[InterfaceTypeAttribute()]
public interface IVsFileUpgrade2
[GuidAttribute(L"F2394417-A219-4297-BB4E-E66864A6A7DB")]
[InterfaceTypeAttribute()]
public interface class IVsFileUpgrade2
[<GuidAttribute("F2394417-A219-4297-BB4E-E66864A6A7DB")>]
[<InterfaceTypeAttribute()>]
type IVsFileUpgrade2 =  interface end
public interface IVsFileUpgrade2

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

IVsFileUpgrade2 Members

Microsoft.VisualStudio.Shell.Interop Namespace