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 | 获取程序集声明的类型。 |
另见
- Class Object
- Namespace System::Reflection
- Library Aspose.Font for C++