XData Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents literal data that can appear as the value for a Value node.

Namespace:   System.Windows.Markup
Assembly:  System.Xaml (in System.Xaml.dll)

System.Object
  System.Windows.Markup.XData

[ContentPropertyAttribute("Text")]
public sealed class XData

NameDescription
System_CAPS_pubmethodXData()

Initializes a new instance of the XData class.

NameDescription
System_CAPS_pubpropertyText

Gets or sets the literal value string that this XData wraps.

System_CAPS_pubpropertyXmlReader

Gets or sets a reader for the literal data.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Text is the XAML content property for XData. To read values from out of a XAML node stream where XData is returned, get the Text property value.

Encoding considerations are declared at top-level XML, and are generally UTF-8 by default.

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: