Resolve method

Provides information about the implementation of an element behavior.


HRESULT retVal = object.Resolve(bstrNamespace, bstrTagName, bstrAttrs, pNamespace);


bstrNamespace [in]

Type: BSTR

A BSTR that specifies the name of the namespace.

bstrTagName [in]

Type: BSTR

A BSTR that specifies the name of the element behavior.

bstrAttrs [in]

Type: BSTR

A BSTR that specifies the attributes used with the element behavior. This argument contains a structure of name/value pairs.

pNamespace [in]

Type: IElementNamespace

The address of the IElementNamespace interface for the namespace to which any tags are added.

Return value


If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.


This method is implemented by the host of MSHTML. It is invoked in response to the IElementNamespaceTable::AddNamespace method with the ELEMENTNAMESPACEFLAGS_QUERYFORUNKNOWNTAGS flag.

If a host that implements this method supports the tag given in bstrTagName, it can call IElementNamespace::AddTag to add the tag to the namespace.


The bstrAttrs argument is a BSTR containing a packed name/value pair structure, as indicated by the following.


A NULL Name indicates the end of the name/value sequence. Any of the Value strings can be empty.