IVsTrackProjectRetargetingEvents.OnRetargetingBeforeProjectSave Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function OnRetargetingBeforeProjectSave ( _
projRef As String, _
pBeforeChangeHier As IVsHierarchy, _
currentTargetFramework As String, _
newTargetFramework As String _
) As Integer
int OnRetargetingBeforeProjectSave(
string projRef,
IVsHierarchy pBeforeChangeHier,
string currentTargetFramework,
string newTargetFramework
)
int OnRetargetingBeforeProjectSave(
[InAttribute] String^ projRef,
[InAttribute] IVsHierarchy^ pBeforeChangeHier,
[InAttribute] String^ currentTargetFramework,
[InAttribute] String^ newTargetFramework
)
abstract OnRetargetingBeforeProjectSave :
projRef:string *
pBeforeChangeHier:IVsHierarchy *
currentTargetFramework:string *
newTargetFramework:string -> int
function OnRetargetingBeforeProjectSave(
projRef : String,
pBeforeChangeHier : IVsHierarchy,
currentTargetFramework : String,
newTargetFramework : String
) : int
Parameters
- projRef
Type: System.String
- pBeforeChangeHier
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
- currentTargetFramework
Type: System.String
- newTargetFramework
Type: System.String
Return Value
Type: System.Int32
.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.