IVsFrameworkMultiTargeting.IsReferenceableInTargetFx(String, String, Boolean) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Indique si le nom de l'assembly/la spécification fournis font partie du framework cible spécifié.
public:
int IsReferenceableInTargetFx(System::String ^ pwszAssemblySpec, System::String ^ pwszTargetFrameworkMoniker, [Runtime::InteropServices::Out] bool % pbIsReferenceable);
int IsReferenceableInTargetFx(std::wstring const & pwszAssemblySpec, std::wstring const & pwszTargetFrameworkMoniker, [Runtime::InteropServices::Out] bool & pbIsReferenceable);
public int IsReferenceableInTargetFx (string pwszAssemblySpec, string pwszTargetFrameworkMoniker, out bool pbIsReferenceable);
abstract member IsReferenceableInTargetFx : string * string * -> int
Public Function IsReferenceableInTargetFx (pwszAssemblySpec As String, pwszTargetFrameworkMoniker As String, ByRef pbIsReferenceable As Boolean) As Integer
Paramètres
- pwszAssemblySpec
- String
[in] Nom/spécification de l'assembly à vérifier.
- pwszTargetFrameworkMoniker
- String
[in] Moniker du Framework cible.
- pbIsReferenceable
- Boolean
[out, retval] Retourne true si le nom ou la spécification de l'assembly fait partie du framework cible.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.