Share via


RegisterUrn method

Registers a Uniform Resource Name (URN) for a Dynamic HTML (DHTML) behavior.

Syntax

HRESULT retVal = object.RegisterUrn(pchUrn);

Parameters

  • pchUrn [in]
    Type: LPOLESTR

    The address of a string that specifies the URN to register.

Remarks

Registering a URN ensures that it is available in the behaviorURNs and IHTMLFormElement2::urns collections for the element and document to which the DHTML behavior is attached.