XPRMProcedure Class
A procedure or function supplied by a module or implemented in a model.

Namespace: Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 5.0.2.0

C#
public sealed class XPRMProcedure : XPRMTypedIdentifier
The XPRMProcedure type exposes the following members.

Name | Description | |
---|---|---|
![]() |
Model |
Used to fetch the XPRM model to which this object belongs, or else 'null' if there is no model anywhere among this Object's ancestors.
(Inherited from XPRMObjectBase.) |
![]() |
Name |
Property to get this identifier's name
(Inherited from XPRMTypedIdentifier.) |
![]() |
NbParameters |
Number of parameters (arguments) expected by the subroutine.
|
![]() |
Owner |
Used to fetch the XPRM object to which this object belongs
(Inherited from XPRMObjectBase.) |
![]() |
ParameterTypes |
The string of parameter types. This is a text string describing which arguments are expected by the function: it is its signature. This string is composed with the following characters:
|
![]() |
StructCode | (Inherited from XPRMTypedObject.) |
![]() |
StructName | (Inherited from XPRMTypedObject.) |
![]() |
Type | (Inherited from XPRMTypedObject.) |
![]() |
TypeCode | (Inherited from XPRMTypedObject.) |
![]() |
TypeName |
String representation of return type
(Overrides XPRMTypedObjectTypeName.) |

Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
FindLocation |
Find the location of the procedure in the source.
|
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType |
Gets the type of the current instance.
(Inherited from Object.) |
![]() |
Next |
Get the next overloaded version of the subroutine (model routine only). A subroutine may be defined several times in a model with different sets of arguments. This function gives access to all the defined overloaded versions of a subroutine.
|
![]() |
ToString |
Returns a string representation of this procedure
(Overrides XPRMTypedObjectToString.) |
