SyndicationContent.CreateHtmlContent Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Creates a new TextSyndicationContent instance with the specified HTML content.
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Syntax
'Declaration
Public Shared Function CreateHtmlContent ( _
content As String _
) As TextSyndicationContent
public static TextSyndicationContent CreateHtmlContent(
string content
)
Parameters
- content
Type: System.String
The text of the content.
Return Value
Type: System.ServiceModel.Syndication.TextSyndicationContent
A TextSyndicationContent instance.
Remarks
The string passed into this method should contain HTML.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.