System::Reflection::Assembly classe

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

Metodi

MetodoDescrizione
Assembly()Costruttore.
virtual get_CodeBase() constOttiene la directory dell’assembly corrente. Il supporto è limitato.
virtual get_FullName() constOttiene il nome completo dell’assembly.
virtual get_Location() constOttiene la posizione dell’assembly. Non implementato.
static GetAssembly(const TypeInfo&)Ottiene l’assembly che definisce il tipo specifico.
static GetCallingAssembly()Ottiene l’assembly chiamante.
static GetEntryAssembly()Ottiene l’assembly di ingresso.
static GetExecutingAssembly()Ottiene l’assembly in esecuzione.
virtual GetManifestResourceNames() constOttiene i nomi delle risorse di manifest.
virtual GetManifestResourceStream(String) constOttiene lo stream collegato alla risorsa di manifest.
virtual GetName() constOttiene il nome dell’assembly.
virtual GetTypes() constOttiene i tipi dichiarati dall’assembly.

Vedi anche