This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.
Gets a collection of Dynamic HTML (DHTML) behaviors that belong to the same category.
HRESULT GetRelatedBehaviors( LONG lDirection, LPOLESTR pchCategory, IEnumUnknown **ppEnumerator );
- [in] A value of type LONG that specifies the direction of the search. The only value currently supported is BEHAVIOR_PARENT.
- [in] A pointer to a string that specifies the category of DHTML behaviors to search for.
- [out, retval] A pointer to an IEnumUnknown enumerator that returns a collection of interfaces for DHTML behaviors belonging to the specified category.
Returns S_OK if successful, or an error value otherwise.
A category is represented as a Uniform Resource Name (URN) and is used to group DHTML behaviors that implement similar functionality.Note This method is available as of Microsoft Internet Explorer 5 and is subject to change.