IVsTrackProjectRetargeting.OnSetTargetFramework Method

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

Syntax

‘선언
Function OnSetTargetFramework ( _
    pHier As IVsHierarchy, _
    currentTargetFramework As String, _
    newTargetFramework As String, _
    pWorkerCallback As IVsSetTargetFrameworkWorkerCallback, _
    ReloadProject As Boolean _
) As Integer
‘사용 방법
Dim instance As IVsTrackProjectRetargeting
Dim pHier As IVsHierarchy
Dim currentTargetFramework As String
Dim newTargetFramework As String
Dim pWorkerCallback As IVsSetTargetFrameworkWorkerCallback
Dim ReloadProject As Boolean
Dim returnValue As Integer

returnValue = instance.OnSetTargetFramework(pHier, _
    currentTargetFramework, newTargetFramework, _
    pWorkerCallback, ReloadProject)
int OnSetTargetFramework(
    IVsHierarchy pHier,
    string currentTargetFramework,
    string newTargetFramework,
    IVsSetTargetFrameworkWorkerCallback pWorkerCallback,
    bool ReloadProject
)
int OnSetTargetFramework(
    [InAttribute] IVsHierarchy^ pHier, 
    [InAttribute] String^ currentTargetFramework, 
    [InAttribute] String^ newTargetFramework, 
    [InAttribute] IVsSetTargetFrameworkWorkerCallback^ pWorkerCallback, 
    [InAttribute] bool ReloadProject
)
abstract OnSetTargetFramework : 
        pHier:IVsHierarchy * 
        currentTargetFramework:string * 
        newTargetFramework:string * 
        pWorkerCallback:IVsSetTargetFrameworkWorkerCallback * 
        ReloadProject:bool -> int 
function OnSetTargetFramework(
    pHier : IVsHierarchy, 
    currentTargetFramework : String, 
    newTargetFramework : String, 
    pWorkerCallback : IVsSetTargetFrameworkWorkerCallback, 
    ReloadProject : boolean
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsTrackProjectRetargeting Interface

IVsTrackProjectRetargeting Members

Microsoft.VisualStudio.Shell.Interop Namespace