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.
Gets the target .NET Framework of the project instance.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Function GetTargetFramework ( _
<OutAttribute> ByRef ppTargetFramework As String _
) As Integer
int GetTargetFramework(
out string ppTargetFramework
)
int GetTargetFramework(
[OutAttribute] String^% ppTargetFramework
)
abstract GetTargetFramework :
ppTargetFramework:string byref -> int
function GetTargetFramework(
ppTargetFramework : String
) : int
Parameters
ppTargetFramework
Type: String%[out] The target framework.
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.