Partager via


IVsFrameworkMultiTargeting.GetInstallableFrameworkForTargetFx Method

Retrieves the installable framework for the specified target framework moniker.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function GetInstallableFrameworkForTargetFx ( _
    pwszTargetFrameworkMoniker As String, _
    <OutAttribute> ByRef pbstrInstallableFrameworkMoniker As String _
) As Integer
int GetInstallableFrameworkForTargetFx(
    string pwszTargetFrameworkMoniker,
    out string pbstrInstallableFrameworkMoniker
)
int GetInstallableFrameworkForTargetFx(
    [InAttribute] String^ pwszTargetFrameworkMoniker, 
    [OutAttribute] String^% pbstrInstallableFrameworkMoniker
)
abstract GetInstallableFrameworkForTargetFx : 
        pwszTargetFrameworkMoniker:string * 
        pbstrInstallableFrameworkMoniker:string byref -> int
function GetInstallableFrameworkForTargetFx(
    pwszTargetFrameworkMoniker : String, 
    pbstrInstallableFrameworkMoniker : String
) : int

Parameters

  • pwszTargetFrameworkMoniker
    Type: String

    [in] The framework moniker to use to get the installable framework.

  • pbstrInstallableFrameworkMoniker
    Type: String%

    [out, retval] The moniker of the installable framework.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsFrameworkMultiTargeting Interface

Microsoft.VisualStudio.Shell.Interop Namespace