Returns a specific PartProgram object from the collection in the PartPrograms object.
Visual Basic |
---|
Public Function Item( _ ByVal NameorNum As Variant _ ) As PartProgram |
- 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.
PartProgram object.
Since the Item method is the default, the function name can be omitted if desired.