Udostępnij za pośrednictwem


AtomLinkMetadata Class

Represents an Atom metadata description for a link.

Inheritance Hierarchy

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

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

Syntax

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

The AtomLinkMetadata type exposes the following members.

Constructors

  Name Description
Public method AtomLinkMetadata Initializes a new instance of the AtomLinkMetadata class.

Top

Properties

  Name Description
Public property Href Gets or sets the URI of the link.
Public property HrefLang Gets or sets the language tag (for example, en-US) of the resource pointed to by the link.
Public property Length Gets or sets a hint at the length of the content returned from the link.
Public property MediaType Gets or sets the media type of the data returned by the link.
Public property Relation Gets or sets the link's relation type.
Public property Title Gets or sets a human-readable description of the link.

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.)

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