ParamName Property

Applies to TestComplete 14.0, last modified on January 23, 2019

Description

The ObjEvent.ParamName property returns the name of the event’s parameter specified by its index.

Declaration

ObjEventObj.ParamName(Index)

Read-Only Property String
ObjEventObj An expression, variable or parameter that specifies a reference to an ObjEvent 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 event’s parameters. To get the total number of event’s parameters, use the ObjEvent.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

ObjEvent.Name
ObjEvent.ParamCount

Highlight search results