System::Reflection::MemberInfo class
Contents
[
Hide
]MemberInfo class
Provides 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.
class MemberInfo : public System::Object
Nested classes
- Class TypeInternal
Methods
Method | Description |
---|---|
AddAttribute(const ObjectPtr&) | Adds attribute to collection. |
get_DeclaringType() const | Gets declaring type. |
get_FullName() const | Gets member full name. Can be different in manually implemented parts. |
virtual get_MemberType() const | Gets a System::Reflection::MemberTypes value indicating the type of the member - method, constructor, event, and so on. |
get_Name() const | Gets member name. |
get_ReflectedType() const | Gets reflected type type. |
GetCustomAttributes(const TypeInfo&, bool) const | Returns an array containing objects that represent all custom attributes applied to the type represented by the current object. |
GetCustomAttributes(bool) const | Returns an array containing objects that represent all custom attributes applied to the type represented by the current object. |
Typedefs
Typedef | Description |
---|---|
ObjectPtr | Alias for a shared pointer to Object. |
See Also
- Class Object
- Namespace System::Reflection
- Library Aspose.PDF for C++