RtFunctions.Item



Item(vNameOrPos As Variant) As RtFunction

Parameters

vNameOrPos As Variant
If the parameter is a numerical value, the function is searched by its index (>= 0 and <= Count-1).
If it is an alphanumerical value, the function is searched by its unique name.
ED
avaliable
RT
not used

Remarks

Returns the object Function from the collection, which is identified by the parameter vNameOrPos.


The parameter vNameOrPos can have two values:

·	 Index: Access with an index mostly is used in combination with the property Count to find out the position of the variable object in the list.

·	 Variable name: The variable can also be accessed with its unique name. This name has to be defined explicitely in the Editor.

Hint: The returned object should be checked on Nothing, if no object for the search creteria was found.

See Also

RtFunctions, RtFunction