set_Value()

XmlNode::set_Value(String) method

Sets the value of the node.

virtual void System::Xml::XmlNode::set_Value(String value)

Arguments

ParameterTypeDescription
valueStringThe value to set.

Exceptions

ExceptionDescription
ArgumentExceptionSetting the value of a node that is read-only.
InvalidOperationExceptionSetting the value of a node that is not supposed to have a value (for example, an Element node).

See Also