Registers a Uniform Resource Name (URN) for a Dynamic HTML (DHTML) behavior.
Syntax
HRESULT RegisterUrn( LPOLESTR pchName );
Parameters
- pchName
- Address of a string that specifies the URN to register.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Registering a URN ensures that it is available in the behaviorURNs and urns collections for the element and document to which the DHTML behavior is attached.