Taal

SyndicationContent.CreateUrlContent(Uri, String) Methode

Definitie

Hiermee maakt u een nieuw UrlSyndicationContent exemplaar met het opgegeven Uri en mediatype.

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

url
Uri

De Uri inhoud.

mediaType
String

Het mediatype van de inhoud.

Retouren

Een nieuw UrlSyndicationContent exemplaar.

Opmerkingen

De parameter voor het mediatype kan worden ingesteld op een bekende MIME-typewaarde zoals gedefinieerd in RFC 2046.

Van toepassing op