Export (0) Print
Expand All

SyndicationContent.CreateUrlContent Method

Creates a new UrlSyndicationContent instance with the specified Uri and media type.

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

public static UrlSyndicationContent CreateUrlContent(
	Uri url,
	string mediaType
)

Parameters

url
Type: System.Uri
The Uri of the content.
mediaType
Type: System.String
The media type of the content.

The media type parameter can be set to any known MIME type value as defined in RFC 2046.

Silverlight

Supported in: 5, 4, 3

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

Community Additions

ADD
Show:
© 2015 Microsoft