SyndicationLink.SyndicationLink(Uri, String, String, String, UInt32) constructor

Applies to Windows and Windows Phone

Creates a new SyndicationLink object with a Uri, Relationship, Title, MediaType, and Length.

Syntax


var syndicationLink = new Windows.Web.Syndication.SyndicationLink(uri, relationship, title, mediaType, length);

Parameters

uri

Type: Windows.Foundation.Uri [JavaScript] | System.Uri [.NET] | Windows::Foundation::Uri [C++]

The Uri value.

relationship

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The relationship type.

title

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The title of the syndication link.

mediaType

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The MediaType of the syndication link.

length

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The length, in bytes, of the syndication link.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Syndication
Windows::Web::Syndication [C++]

Metadata

Windows.winmd

See also

SyndicationLink
SyndicationLink(Uri)
SyndicationLink

 

 

Show:
© 2014 Microsoft