System::Reflection namespace

Classes

ClassDescription
AssemblyReflection 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.
AssemblyNameDefines assembly name. 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.
AssemblyTypeRegistrationSingleton to register type in executing assembly.
AssemblyTypeRegistrationBaseBase type for singletons to register type in executing assembly.
ConstructorInfoProvides access to constructor metadata.
FieldInfoDiscovers the attributes of a field and provides access to field metadata.
MemberInfoProvides reflection information on members. 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.
MethodBaseBase information on method. 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.
MethodInfoRepresents information on class method.
PropertyInfoRepresents property information.

Enums

EnumDescription
BindingFlagsDegines members and types lookup modes and bindings.
FieldAttributesReflected field attributes.
MemberTypesMarks each type of member.

Typedefs

TypedefDescription
ReflectionTypeLoadExceptionReflectionTypeLoadException is thrown by the Module.GetTypes method if any of the classes in a module fail to load. Never wrap the ReflectionTypeLoadException class instances into System::SmartPtr.
TargetInvocationExceptionTargetInvocationException is thrown by methods invoked through reflection. Never wrap the TargetInvocationException class instances into System::SmartPtr.