Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.