Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

tags method

[This documentation is preliminary and is subject to change.]

Retrieves a collection of objects that have the specified HTML tag name.

Syntax


IDispatch retVal = object.tags(tagName);

Standards information

There are no standards that apply here.

Parameters

tagName [in]

Type: VARIANT

VARIANT of type BSTR that specifies an HTML tag. It can be any one of the objects exposed by the DHTML Object Model.

Remarks

Successful execution includes the case where no elements having the given name are found. In this case, a collection containing zero elements is returned.

The IHTMLSelectElement::length property of the collection contains the number of elements in the collection.

NULL may be returned in cases where the collection cannot be constructed, such as inability to allocate memory for even a zero-length collection.

 

 

Build date: 6/6/2012

Community Additions

Show:
© 2015 Microsoft