次の方法で共有


IVsTrackProjectRetargetingEvents.OnRetargetingAfterChange Method

Definition

Fired after the retargeting of the project has completed.

public:
 int OnRetargetingAfterChange(System::String ^ projRef, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pAfterChangeHier, System::String ^ fromTargetFramework, System::String ^ toTargetFramework);
public:
 int OnRetargetingAfterChange(Platform::String ^ projRef, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pAfterChangeHier, Platform::String ^ fromTargetFramework, Platform::String ^ toTargetFramework);
int OnRetargetingAfterChange(std::wstring const & projRef, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pAfterChangeHier, std::wstring const & fromTargetFramework, std::wstring const & toTargetFramework);
public int OnRetargetingAfterChange (string projRef, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pAfterChangeHier, string fromTargetFramework, string toTargetFramework);
abstract member OnRetargetingAfterChange : string * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * string * string -> int
Public Function OnRetargetingAfterChange (projRef As String, pAfterChangeHier As IVsHierarchy, fromTargetFramework As String, toTargetFramework As String) As Integer

Parameters

projRef
String

[in] The unique project reference name.

pAfterChangeHier
IVsHierarchy

[in] The project hierarchy after the change.

fromTargetFramework
String

[in] The current target framework of the project.

toTargetFramework
String

[in] The new target framework of the project.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to