## 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()](../../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](../../system/smartptr/) pointer and use this pointer to pass it to functions as argument.

```cpp
class Assembly : public System::Object
```

## Metoder

| Metod | Beskrivning |
| --- | --- |
| [Assembly](./assembly/)() | Konstruktor. |
| virtual [get_CodeBase](./get_codebase/)() const | Hämtar katalogen för den aktuella assemblyn. Stödet är begränsat. |
| virtual [get_FullName](./get_fullname/)() const | Hämtar assemblyns fullständiga namn. |
| virtual [get_Location](./get_location/)() const | Hämtar assemblyns plats. Ej implementerad. |
| static [GetAssembly](./getassembly/)(const TypeInfo\&) | Hämtar assemblyn som definierar en specifik typ. |
| static [GetCallingAssembly](./getcallingassembly/)() | Hämtar anropande assembly. |
| static [GetEntryAssembly](./getentryassembly/)() | Hämtar start-assembly. |
| static [GetExecutingAssembly](./getexecutingassembly/)() | Hämtar körande assembly. |
| virtual [GetManifestResourceNames](./getmanifestresourcenames/)() const | Hämtar namn på manifestresurser. |
| virtual [GetManifestResourceStream](./getmanifestresourcestream/)(String) const | Hämtar ström som är ansluten till manifestresurs. |
| virtual [GetName](./getname/)() const | Hämtar assemblyns namn. |
| virtual [GetTypes](./gettypes/)() const | Hämtar typer som deklarerats av assemblyn. |
## Se även

* Class [Object](../../system/object/)
* Namespace [System::Reflection](../)
* Library [Aspose.Page for C++](../../)
