classe System::Reflection::Assembly

Assembly class

Reflection class describing assembly. Support is limited as the rules are quite different between C# and C++. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class Assembly : public System::Object

Méthodes

MéthodeDescription
Assembly()Constructeur.
virtual get_CodeBase() constObtient le répertoire de l’assembly actuel. Le support est limité.
virtual get_FullName() constObtient le nom complet de l’assembly.
virtual get_Location() constObtient l’emplacement de l’assembly. Non implémenté.
static GetAssembly(const TypeInfo&)Obtient l’assembly définissant le type spécifique.
static GetCallingAssembly()Obtient l’assembly appelant.
static GetEntryAssembly()Obtient l’assembly d’entrée.
static GetExecutingAssembly()Obtient l’assembly en cours d’exécution.
virtual GetManifestResourceNames() constObtient les noms des ressources du manifeste.
virtual GetManifestResourceStream(String) constObtient le flux connecté à la ressource du manifeste.
virtual GetName() constObtient le nom de l’assembly.
virtual GetTypes() constObtient les types déclarés par l’assembly.

Voir aussi