System::Reflection::Assembly-klass
Innehåll
[
Dölj
]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
Metoder
| Metod | Beskrivning |
|---|---|
| Assembly() | Konstruktor. |
| virtual get_CodeBase() const | Hämtar katalogen för den aktuella assemblyn. Stödet är begränsat. |
| virtual get_FullName() const | Hämtar assemblyns fullständiga namn. |
| virtual get_Location() const | Hämtar assemblyns plats. Ej implementerad. |
| static GetAssembly(const TypeInfo&) | Hämtar assemblyn som definierar en specifik typ. |
| static GetCallingAssembly() | Hämtar anropande assembly. |
| static GetEntryAssembly() | Hämtar start-assembly. |
| static GetExecutingAssembly() | Hämtar körande assembly. |
| virtual GetManifestResourceNames() const | Hämtar namn på manifestresurser. |
| virtual GetManifestResourceStream(String) const | Hämtar ström som är ansluten till manifestresurs. |
| virtual GetName() const | Hämtar assemblyns namn. |
| virtual GetTypes() const | Hämtar typer som deklarerats av assemblyn. |
Se även
- Class Object
- Namespace System::Reflection
- Library Aspose.Page for C++