Sdílet prostřednictvím


IVsDesignTimeAssemblyResolution.GetTargetFramework – metoda (String)

 

Získá cíl.NET framework instance projektu.

Obor názvů:   Microsoft.VisualStudio.Shell.Interop
Sestavení:  Microsoft.VisualStudio.Shell.Interop.10.0 (v Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntaxe

int GetTargetFramework(
    out string ppTargetFramework
)
int GetTargetFramework(
    [OutAttribute] String^% ppTargetFramework
)
abstract GetTargetFramework : 
        ppTargetFramework:string byref -> int
Function GetTargetFramework (
    <OutAttribute> ByRef ppTargetFramework As String
) As Integer

Parametry

  • ppTargetFramework
    [výstup] Cílový rámec.

Vrácená hodnota

Type: System.Int32

Pokud metoda uspěje, vrací S_OK.Pokud se nezdaří, vrátí kód chyby.

Viz také

IVsDesignTimeAssemblyResolution – rozhraní
Microsoft.VisualStudio.Shell.Interop – obor názvů

Zpátky na začátek