SyndicationContent.CreateHtmlContent(String) Method

Definition

Creates a new TextSyndicationContent instance with the specified HTML content.

public:
 static System::ServiceModel::Syndication::TextSyndicationContent ^ CreateHtmlContent(System::String ^ content);
public static System.ServiceModel.Syndication.TextSyndicationContent CreateHtmlContent (string content);
static member CreateHtmlContent : string -> System.ServiceModel.Syndication.TextSyndicationContent
Public Shared Function CreateHtmlContent (content As String) As TextSyndicationContent

Parameters

content
String

The text of the content.

Returns

A TextSyndicationContent instance.

Remarks

The string passed into this method should contain HTML.

Applies to