System::Reflection::MethodBase class

MethodBase class

Base 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.

class MethodBase : public System::Reflection::MemberInfo

Methods

MethodDescription
get_MemberType() const overrideIndicating the type of the member - method, constructor, event, and so on.
static GetCurrentMethod(const String&)This method allows getting current method name. Translator substitutes ASPOSE_CURRENT_FUNCTION as parameter automatically.
MEMBER_FUNCTION_MAKE_OBJECT(MethodBase, CODEPORTING_ARGS(const String&full_name), CODEPORTING_ARGS(full_name))
MethodBase()Initializes a new instance of the MethodBase class.

See Also