Click to return to the Reusing Browser Technology home page    
IElementBehaviorSiteOM::R...     IElementBehaviorSiteOM In...    
Web Workshop  |  Reusing Browser Technology

IElementBehaviorSiteOM::RegisterUrn Method


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.