IVsTargetFrameworkAssemblies.GetTargetFrameworkDescription(UInt32, String) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
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
);