IHTMLElement2::behaviorUrns Property

Returns a collection of Uniform Resource Name (URN) strings that identify the behaviors attached to the element.

Syntax


HRESULT IHTMLElement2::get_behaviorUrns(IDispatch **p);

Parameters

p
An array of URNs that identify the behaviors attached to the element.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

A behavior can specify a unique identifier in the form of a URN. If no URN is specified for a behavior, an empty string is specified in the collection. If no behaviors are attached to the element, an empty collection is returned.

See Also

Community Additions

Show: