Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Silverlight
 Links Property
Other versions are also available for the following:
.NET Framework Class Library for Silverlight
SyndicationItem..::.Links Property
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the links contained in the syndication item.

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)

Visual Basic (Declaration)
Public ReadOnly Property Links As Collection(Of SyndicationLink)
Visual Basic (Usage)
Dim instance As SyndicationItem
Dim value As Collection(Of SyndicationLink)

value = instance.Links
C#
public Collection<SyndicationLink> Links { get; }
Visual C++
public:
property Collection<SyndicationLink^>^ Links {
    Collection<SyndicationLink^>^ get ();
}
JScript
public function get Links () : Collection<SyndicationLink>

Property Value

Type: System.Collections.ObjectModel..::.Collection<(Of <(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.

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker