GetProcedureIndex Method

Returns the index of the Procedure member in the Procedures collection.

Syntax

object.GetProcedureIndex bstrProcName, pIndex, pFound

Properties

The GetProcedureIndex method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

bstrProcName

String. The name of the procedure.

pIndex

Long. Numerical index of the procedures position in the existing collection. Note: This index is transient, it will change as procedures are added or deleted.

pFound

Long. Returns 1 if a procedure is present, 0 if no procedure is present.

 

Example

Applies To