Share via


MethodInfo.varId Method

Specifies the ID for certain variable data types, such as extended data types and enums, for a method that contains variables.

Syntax

public int varId(int variableNumber)

Run On

Called

Parameters

  • variableNumber
    Type: int
    An integer value that specifies a method variable based on the order of the variables listed in the method.

Return Value

Type: int
An integer value that indicates the variable data type ID.

Remarks

The return value is 0 if the data type does not have an ID or if a method does not have variables.

See Also

Reference

MethodInfo Class