Share via


AtomTextConstruct Class

Represents an Atom metadata description for a text construct (plain text, html or xhtml).

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.Atom.AtomTextConstruct

Namespace:  Microsoft.Data.OData.Atom
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public NotInheritable Class AtomTextConstruct _
    Inherits ODataAnnotatable
'Usage
Dim instance As AtomTextConstruct
public sealed class AtomTextConstruct : ODataAnnotatable
public ref class AtomTextConstruct sealed : public ODataAnnotatable
[<SealedAttribute>]
type AtomTextConstruct =  
    class 
        inherit ODataAnnotatable 
    end
public final class AtomTextConstruct extends ODataAnnotatable

The AtomTextConstruct type exposes the following members.

Constructors

  Name Description
Public method AtomTextConstruct Creates a new instance of the AtomTextConstruct class.

Top

Properties

  Name Description
Public property Kind Gets or sets the kind of the text construct (plain text, html, xhtml).
Public property Text Gets or sets the text content.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetAnnotation<T> Gets or sets the annotation by type. (Inherited from ODataAnnotatable.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method SetAnnotation<T> Sets an annotation of type T. (Inherited from ODataAnnotatable.)
Public method ToString (Inherited from Object.)
Public methodStatic member ToTextConstruct Converts a string to an AtomTextConstruct instance.

Top

Operators

  Name Description
Public operatorStatic member Implicit(String to AtomTextConstruct) Converts a string to an AtomTextConstruct instance.

Top

Thread Safety

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

See Also

Reference

Microsoft.Data.OData.Atom Namespace