value Property (Windows CE 5.0)
Contains the attribute value.
[Script]
Script Syntax
objValue= oXMLDOMAttribute.value;objXMLDOMAttribute.value=objValue;
Script Parameters
None.
Script Return Value
Variant. It returns the value of the attribute. For attributes with subnodes, the string is the concatenated text of all subnodes with character and general entity references expanded (replaced with their values).
[C/C++]
C/C++ Syntax
HRESULT get_value(VARIANT* attributeValue);HRESULT put_value(VARIANT* attributeValue);
C/C++ Parameters
- attributeValue
[out, retval][in] Value of the attribute. For attributes with subnodes, the string is the concatenated text of all subnodes with character and general entity reference expanded (replaced with their values).
C/C++ Return Values
- S_OK
Value returned if successful. - E_INVALIDARG (for get_value only)
Value returned if attributeValue is Null. - E_FAIL (for put_value only)
Value returned if an error occurs.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
General Remarks
The property is read/write.
The new attribute value is added as the value of a single text node that is a child of the attribute node. The string contents are unparsed.
This property is read/write, and applies to the following interface:
Send Feedback on this topic to the authors