System::Reflection::Assembly class

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

Methods

MethodDescription
Assembly()Constructor.
virtual get_CodeBase() constGets directory of current assembly. Support is limited.
virtual get_FullName() constGets assembly full name.
virtual get_Location() constGets assembly location. Not implemented.
static GetAssembly(const TypeInfo&)Gets assembly defining specific type.
static GetCallingAssembly()Gets calling assembly.
static GetEntryAssembly()Gets entry assembly.
static GetExecutingAssembly()Gets executing assembly.
virtual GetManifestResourceNames() constGets names of manifest resources.
virtual GetManifestResourceStream(String) constGets stream connected to manifest resource.
virtual GetName() constGets assembly name.
virtual GetTypes() constGets types declared by assembly.

See Also