SyndicationContent.CreateXhtmlContent Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Creates a new TextSyndicationContent instance with the specified XHTML content.
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Syntax
'Declaration
Public Shared Function CreateXhtmlContent ( _
content As String _
) As TextSyndicationContent
public static TextSyndicationContent CreateXhtmlContent(
string content
)
Parameters
- content
Type: System.String
The XHTML content.
Return Value
Type: System.ServiceModel.Syndication.TextSyndicationContent
A new TextSyndicationContent instance.
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.