GetRelatedBehaviors method
Gets a collection of Dynamic HTML (DHTML) behaviors that belong to the same category.
Syntax
HRESULT retVal = object.GetRelatedBehaviors(lDirection, pchCategory, ppEnumerator);
Parameters
lDirection [in]
Type: LONGA value of type LONG that specifies the direction of the search. The only value currently supported is BEHAVIOR_PARENT.
pchCategory [in]
Type: LPOLESTRA pointer to a string that specifies the category of Dynamic HTML (DHTML) behaviors to search for.
ppEnumerator [out, retval]
Type: IEnumUnknownA pointer to an IEnumUnknown enumerator that returns a collection of interfaces for Dynamic HTML (DHTML) behaviors belonging to the specified category.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
A category is represented as a Uniform Resource Name (URN) and is used to group Dynamic HTML (DHTML) behaviors that implement similar functionality.
Note This method is available as of Microsoft Internet Explorer 5 and is subject to change.