System::Reflection::MethodInfo class

MethodInfo class

Represents information on class method.

class MethodInfo : public System::Reflection::MemberInfo

Methods

MethodDescription
AddParameter(const SharedPtr<ParameterInfo>&)Adds a parameter to the method.
get_MemberType() const overrideGets a MemberTypes value indicating that this member is a method.
get_ReturnType() constGets the return type of the method.
GetParameters() constReturns the parameters of the method.
MethodInfo(const String&)Initializes a new instance of the MethodInfo class.
SetMemberType(MemberTypes)Sets the member type (overrides abstract).
SetReturnType(const TypeInfo&)Sets the return type of the method.

See Also