Класс 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

Методы

МетодОписание
Assembly()Конструктор.
virtual get_CodeBase() constПолучает каталог текущей сборки. Поддержка ограничена.
virtual get_FullName() constПолучает полное имя сборки.
virtual get_Location() constПолучает расположение сборки. Не реализовано.
static GetAssembly(const TypeInfo&)Получает сборку, определяющую конкретный тип.
static GetCallingAssembly()Получает вызывающую сборку.
static GetEntryAssembly()Получает сборку входа.
static GetExecutingAssembly()Получает исполняемую сборку.
virtual GetManifestResourceNames() constПолучает имена ресурсов манифеста.
virtual GetManifestResourceStream(String) constПолучает поток, связанный с ресурсом манифеста.
virtual GetName() constПолучает имя сборки.
virtual GetTypes() constПолучает типы, объявленные в сборке.

См. также