SyndicationContent.CreateUrlContent(Uri, String) Methode

Definition

Erstellt eine neue UrlSyndicationContent Instanz mit dem angegebenen Uri Und Medientyp.

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

Parameter

url
Uri

Der Uri Inhalt.

mediaType
String

Der Medientyp des Inhalts.

Gibt zurück

Eine neue UrlSyndicationContent Instanz.

Hinweise

Der Medientypparameter kann auf einen beliebigen bekannten MIME-Typwert festgelegt werden, wie in RFC 2046 definiert.

Gilt für: