SyndicationContent.CreateUrlContent(Uri, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new UrlSyndicationContent instance with the specified Uri and media type.
public:
static System::ServiceModel::Syndication::UrlSyndicationContent ^ CreateUrlContent(Uri ^ url, System::String ^ mediaType);
public static System.ServiceModel.Syndication.UrlSyndicationContent CreateUrlContent (Uri url, string mediaType);
static member CreateUrlContent : Uri * string -> System.ServiceModel.Syndication.UrlSyndicationContent
Public Shared Function CreateUrlContent (url As Uri, mediaType As String) As UrlSyndicationContent
Parameters
- mediaType
- String
The media type of the content.
Returns
A new UrlSyndicationContent instance.
Remarks
The media type parameter can be set to any known MIME type value as defined in RFC 2046.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.