Compartilhar via


IVsFrameworkMultiTargeting.GetSupportedFrameworks Method

Enumerates the installed target framework monikers on a machine.

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

Syntax

'Declaration
Function GetSupportedFrameworks ( _
    <OutAttribute> ByRef prgSupportedFrameworks As Array _
) As Integer
int GetSupportedFrameworks(
    out Array prgSupportedFrameworks
)
int GetSupportedFrameworks(
    [OutAttribute] Array^% prgSupportedFrameworks
)
abstract GetSupportedFrameworks : 
        prgSupportedFrameworks:Array byref -> int
function GetSupportedFrameworks(
    prgSupportedFrameworks : Array
) : int

Parameters

  • prgSupportedFrameworks
    Type: Array%

    [out, retval] The supported frameworks.

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