Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Schedules the project for batch retargeting.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function BatchRetargetProject ( _
pHier As IVsHierarchy, _
newTargetFramework As String, _
unloadProjectIfErrorOrCancel As Boolean _
) As Integer
int BatchRetargetProject(
IVsHierarchy pHier,
string newTargetFramework,
bool unloadProjectIfErrorOrCancel
)
int BatchRetargetProject(
[InAttribute] IVsHierarchy^ pHier,
[InAttribute] String^ newTargetFramework,
[InAttribute] bool unloadProjectIfErrorOrCancel
)
abstract BatchRetargetProject :
pHier:IVsHierarchy *
newTargetFramework:string *
unloadProjectIfErrorOrCancel:bool -> int
function BatchRetargetProject(
pHier : IVsHierarchy,
newTargetFramework : String,
unloadProjectIfErrorOrCancel : boolean
) : int
Parameters
pHier
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[in] The hierarchy of the project in which the batch retarget is to occur.
newTargetFramework
Type: String[in] The new target framework.
unloadProjectIfErrorOrCancel
Type: Boolean[in] If true, the project is unloaded if an error occurs or the user cancels the operation.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.