IVsTargetFrameworkAssemblies.IsSystemAssembly(String, Int32, UInt32) Méthode

Définition

Vérifie si un assembly spécifié est un assembly système et obtient sa version de Framework.

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

Paramètres

szAssemblyFile
String

[in] Chemin d'accès à l'assembly à vérifier.

pIsSystem
Int32

[out] True si l'assembly est un assembly système.

pTargetFrameworkVersion
UInt32

[out] Valeur IEnumTargetFrameworks spécifiant la version du framework prise en charge.

Retours

Int32

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

Remarques

Signature COM

À partir de compsvcspkg90. idl :

HRESULT IsSystemAssembly(  
    [in] LPCOLESTR szAssemblyFile,   
    [out] BOOL *pIsSystem,  
    [out] TARGETFRAMEWORKVERSION *pTargetFrameworkVersion  
);  

S’applique à