IVsDesignTimeAssemblyResolution.GetTargetFramework Method
Gets the target .NET Framework of the project instance.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.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: System.String%[out] The target framework.
Return Value
Type: System.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.