Gets the links contained in the syndication item.
Public ReadOnly Property Links As Collection(Of SyndicationLink)
Dim instance As SyndicationItem Dim value As Collection(Of SyndicationLink) value = instance.Links
public Collection<SyndicationLink> Links { get; }
public: property Collection<SyndicationLink^>^ Links { Collection<SyndicationLink^>^ get (); }
public function get Links () : Collection<SyndicationLink>
A collection of SyndicationLink objects.
When serialized to Atom 1.0, a <link> element is written for each SyndicationLink in the collection. When serialized to RSS 2.0, an <a10:link> element is written for each SyndicationLink in the collection.
The following code shows how to add a link to the Links collection of a SyndicationItem instance.
The following XML shows how this property is serialized to Atom 1.0.
The following XML shows how this property is serialized to RSS 2.0.