IVsTargetFrameworkAssemblies.GetTargetFrameworkDescription(UInt32, String) Método

Definição

Obtém uma cadeia de caracteres descritiva para uma versão de estrutura.

public:
 int GetTargetFrameworkDescription(System::UInt32 targetVersion, [Runtime::InteropServices::Out] System::String ^ % pszDescription);
int GetTargetFrameworkDescription(unsigned int targetVersion, [Runtime::InteropServices::Out] std::wstring const & & pszDescription);
public int GetTargetFrameworkDescription (uint targetVersion, out string pszDescription);
abstract member GetTargetFrameworkDescription : uint32 * string -> int
Public Function GetTargetFrameworkDescription (targetVersion As UInteger, ByRef pszDescription As String) As Integer

Parâmetros

targetVersion
UInt32

no Um WellKnownTargetFrameworkVersions valor que especifica a versão da estrutura necessária.

pszDescription
String

fora Cadeia de caracteres que descreve a versão do Framework.

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Comentários

Assinatura COM

De compsvcspkg90. idl:

HRESULT GetRequiredTargetFrameworkVersion(  
    [in] LPCOLESTR szAssemblyFile,  
    [out] TARGETFRAMEWORKVERSION *pTargetFrameworkVersion  
);  

Aplica-se a