tags method

Retrieves a subcollection containing only the elements of this collection that have the specified tag name.

Syntax

HRESULT retVal = object.tags(varName, ppDisp);

Parameters

  • varName [in]
    Type: VARIANT

    A VARIANT of type VT_BSTR that specifies the tag name to find. Searches are case-insensitive.

  • ppDisp [out, retval]
    Type: IDispatch

    Returns a reference to the item or collection of tagged items.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

See also

timeAll

timeChildren

Reference

ITIMEElementCollection::item

Conceptual

Introduction to HTML+TIME