RegisterName method
Registers a Dynamic HTML (DHTML) behavior name.
Syntax
HRESULT retVal = object.RegisterName(pchName);
Parameters
pchName [in]
Type: LPOLESTRThe address of a string that specifies the name to register.
Remarks
By registering a name for a DHTML behavior, the behavior's object model can be accessed by name. For an element named element1, the behavior named behavior1 can be accessed as follows.
element1.behavior1.myMethod();
element1.behavior1.myProperty = true;