Syntax
| Value = object.Find( Label[, Labelstring][, StartAfter])
| ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description
| Find a header field in the collection.
RemarksThis method searches the collection for a label. On return, StartAfter is updated to reflect the index of the label found, allowing you to find multiple header fields having the same label.
StartAfter cannot be a constant because the method updates its value. Providing a constant value for StartAfter generates a run-time error. Specifying StartAfter with a value of zero starts the search at the beginning of the collection. StartAfter is set to 0 and "" is returned if the item is not found.
Error CodesThe Clear method may generate the following error codes (refer to the ErrorConstants topic for a complete list of error codes):
| ||||||||||||
See Also
|