Share via


SyndicationLink.CreateSelfLink Method (Uri, String)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Creates a new SyndicationLink with the specified URI, media type, and relationship type set to self.

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

Syntax

'Declaration
Public Shared Function CreateSelfLink ( _
    uri As Uri, _
    mediaType As String _
) As SyndicationLink
public static SyndicationLink CreateSelfLink(
    Uri uri,
    string mediaType
)

Parameters

  • uri
    Type: System.Uri
    The URI to the linked resource.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.