IVsTrackProjectRetargetingEvents.OnRetargetingBeforeChange Method

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

Syntax

‘선언
Function OnRetargetingBeforeChange ( _
    projRef As String, _
    pBeforeChangeHier As IVsHierarchy, _
    currentTargetFramework As String, _
    newTargetFramework As String, _
    <OutAttribute> ByRef pCanceled As Boolean, _
    <OutAttribute> ByRef ppReasonMsg As String _
) As Integer
‘사용 방법
Dim instance As IVsTrackProjectRetargetingEvents
Dim projRef As String
Dim pBeforeChangeHier As IVsHierarchy
Dim currentTargetFramework As String
Dim newTargetFramework As String
Dim pCanceled As Boolean
Dim ppReasonMsg As String
Dim returnValue As Integer

returnValue = instance.OnRetargetingBeforeChange(projRef, _
    pBeforeChangeHier, currentTargetFramework, _
    newTargetFramework, pCanceled, ppReasonMsg)
int OnRetargetingBeforeChange(
    string projRef,
    IVsHierarchy pBeforeChangeHier,
    string currentTargetFramework,
    string newTargetFramework,
    out bool pCanceled,
    out string ppReasonMsg
)
int OnRetargetingBeforeChange(
    [InAttribute] String^ projRef, 
    [InAttribute] IVsHierarchy^ pBeforeChangeHier, 
    [InAttribute] String^ currentTargetFramework, 
    [InAttribute] String^ newTargetFramework, 
    [OutAttribute] bool% pCanceled, 
    [OutAttribute] String^% ppReasonMsg
)
abstract OnRetargetingBeforeChange : 
        projRef:string * 
        pBeforeChangeHier:IVsHierarchy * 
        currentTargetFramework:string * 
        newTargetFramework:string * 
        pCanceled:bool byref * 
        ppReasonMsg:string byref -> int 
function OnRetargetingBeforeChange(
    projRef : String, 
    pBeforeChangeHier : IVsHierarchy, 
    currentTargetFramework : String, 
    newTargetFramework : String, 
    pCanceled : boolean, 
    ppReasonMsg : String
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsTrackProjectRetargetingEvents Interface

IVsTrackProjectRetargetingEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace