Item function returns the LabelTemplate Object with the given name or number.
Visual Basic |
---|
Public Function Item( _ ByVal NameOrNumber As Variant _ ) As LabelTemplate |
- NameOrNumber
- Required Variant that indicates which LabelTemplates object to return. It can be either a Long or a String. If it is a Long, it is the index number of the LabelTemplate object in the LabelTemplates collection. If it is a String, it is the ID of the LabelTemplate object.
LabelTemplate object.
Since the Item method is the default, the function name can be omitted.