Compartir a través de


IVsTrackProjectRetargetingEvents.OnRetargetingAfterChange Method

Fired after the retargeting of the project has completed.

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

Syntax

'Declaration
Function OnRetargetingAfterChange ( _
    projRef As String, _
    pAfterChangeHier As IVsHierarchy, _
    fromTargetFramework As String, _
    toTargetFramework As String _
) As Integer
int OnRetargetingAfterChange(
    string projRef,
    IVsHierarchy pAfterChangeHier,
    string fromTargetFramework,
    string toTargetFramework
)
int OnRetargetingAfterChange(
    [InAttribute] String^ projRef, 
    [InAttribute] IVsHierarchy^ pAfterChangeHier, 
    [InAttribute] String^ fromTargetFramework, 
    [InAttribute] String^ toTargetFramework
)
abstract OnRetargetingAfterChange : 
        projRef:string * 
        pAfterChangeHier:IVsHierarchy * 
        fromTargetFramework:string * 
        toTargetFramework:string -> int
function OnRetargetingAfterChange(
    projRef : String, 
    pAfterChangeHier : IVsHierarchy, 
    fromTargetFramework : String, 
    toTargetFramework : String
) : int

Parameters

  • projRef
    Type: String

    [in] The unique project reference name.

  • fromTargetFramework
    Type: String

    [in] The current target framework of the project.

  • toTargetFramework
    Type: String

    [in] The new target framework of the project.

Return Value

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

.NET Framework Security

See Also

Reference

IVsTrackProjectRetargetingEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace