Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the value of the specified attribute within the specified namespace.
![]() ![]() |
Syntax
HRESULT retVal = object.setAttributeNS(pvarNS, bstrAttributeName, pvarAttributeValue);
Parameters
pvarNS [in]
Type: VARIANTThe namespace URI that defines the desired attribute or a NULL value.
bstrAttributeName [in]
Type: BSTRThe name of the desired attribute within the specified namespace.
pvarAttributeValue [in]
Type: VARIANTThe string, number, or Boolean value to assign to the attribute.
Return value
Type: HRESULT
This method can return one of these values.
Return code | Description |
---|---|
S_OK | The operation completed successfully. |