createAttribute method
[This documentation is preliminary and is subject to change.]
Creates an IHTMLDOMAttribute interface with a specified name.
![]() |
Syntax
HRESULT retVal = object.createAttribute(bstrattrName, );
Standards information
Parameters
bstrattrName [in]
Type: BSTRA BSTR that sets the name property.
ppattribute [out, retval]
Type: IHTMLDOMAttributeA pointer variable that receives an IHTMLDOMAttribute2 pointer.
Remarks
This method will fail if the bstrattrName parameter value contains invalid (non-Unicode Transformation Format (UTF)-16) characters.
createAttribute was introduced in Microsoft Internet Explorer 6.
Build date: 1/26/2012
.png)