System::Reflection::ParameterInfo class
Contents
[
Hide
]ParameterInfo class
Discovers the attributes of a parameter and provides access to parameter metadata. 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 ParameterInfo : public System::Object
Methods
| Method | Description |
|---|---|
| get_DefaultValue() const | Gets the default value of the parameter. |
| get_IsIn() const | Gets a value indicating whether this is an input parameter. |
| get_IsOptional() const | Gets a value indicating whether this parameter is optional. |
| get_IsOut() const | Gets a value indicating whether this is an output parameter. |
| get_IsRetval() const | Gets a value indicating whether this is a Retval parameter. |
| get_Name() const | Gets the name of the parameter. |
| get_ParameterType() const | Gets the type of this parameter. |
| get_Position() const | Gets the zero-based position of the parameter in the formal parameter list. |
| ParameterInfo() | Initializes a new instance of the ParameterInfo class. |
| ParameterInfo(const String&, int, const TypeInfo&) | Initializes a new instance of the ParameterInfo class. |
| SetName(const String&) | Sets the name of the parameter. |
| SetOptional(bool) | Sets the optional flag. |
| SetParameterType(const TypeInfo&) | Sets the type of the parameter. |
| SetPosition(int) | Sets the position of the parameter in the parameter list. |
| ToString() const override | Returns a string that represents the current ParameterInfo. |
See Also
- Class Object
- Namespace System::Reflection
- Library Aspose.TeX for C++