urns method

Retrieves a collection of all objects to which a specified behavior is attached.

Syntax

IDispatch retVal = object.urns(urn);

Parameters

  • urn
    Type: VARIANT

    VARIANT of type VT_BSTR that specifies the behavior's URN.

Standards information

There are no standards that apply here.

Remarks

This method returns an empty collection if no element has the specified behavior attached to it.

Use the IHTMLAreasCollection4::length property on the collection to determine the number of elements it contains, and the item method to obtain a particular item in the collection.

See also

behaviorUrns