Item Method
Description
Returns a specific PartProgram object from the collection in the PartPrograms object.
Syntax
Visual Basic |
---|
Public Function Item( _ ByVal NameorNum As Variant _ ) As PartProgram |
Parameters
- NameorNum
- Required Variant that indicates which PartProgram object to return. It can be either a Long or a String. If it is a Long, it is the index number of the PartProgram object in the PartPrograms collection. If it is a String, it is the ID of the PartProgram object.
Return Type
PartProgram object.
Remarks
Since the Item method is the default, the function name can be omitted if desired.
See Also