SECXMLDocument::SetAttribute

HRESULTSECXMLDocument::SetAttribute(IXMLDOMNode*pNode, LPTSTRstrName, LPTSTRstrValue)

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.