XmlAttribute.Value Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the attribute value.
public:
property Platform::String ^ Value { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Value();
void Value(winrt::hstring value);
public string Value { get; set; }
var string = xmlAttribute.value;
xmlAttribute.value = string;
Public Property Value As String
Property Value
The attribute value.
Remarks
When the value is retrieved, it is returned as a string. When the value is set, a text node is created with the unparsed contents of the string provided.