ParamName Property

Applies to TestComplete 14.61, last modified on April 22, 2021

Description

The ObjMethod.ParamName property returns the name of the method’s parameter specified by its index.

Declaration

ObjMethodObj.ParamName(Index)

Read-Only Property String
ObjMethodObj An expression, variable or parameter that specifies a reference to an ObjMethod object
Index [in]    Required    Integer    

Applies To

The property is applied to the following object:

Parameters

The property has the following parameter:

Index

The zero-based index of the desired parameter in the list of method’s parameters. To get the total number of method’s parameters, use the ObjMethod.ParamCount property.

Property Value

A string that holds the parameter’s name.

Remarks

If you use Python or DelphiScript, you should enclose the parameter of the ParamName property in square brackets: ParamName[Index].

See Also

ObjMethod.HasRetValue
ObjMethod.Name
ObjMethod.ParamCount

Highlight search results