SECXMLDocument::SetAttribute

HRESULT SECXMLDocument::SetAttribute(IXMLDOMNode* pNode, LPTSTR strName, LPTSTR strValue)

Sets the attribute for the specified element.

Defined in: XMLDomDoc.h

Return Value

Returns S_OK if successful, the error code otherwise

Parameters

pNode

The element whose attribute is to be set.

strName

The attribute name.

strValue

The attribute value.