IVsFrameworkMultiTargeting.IsReferenceableInTargetFx(String, String, Boolean) Méthode

Définition

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

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

S’applique à