XmlAttribute.Value Property

Definition

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

String

Platform::String

winrt::hstring

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.

Applies to