SyndicationContent.CreateXmlContent Method (Object, XmlSerializer)

Creates a new XmlSyndicationContent instance with the specified object and XML serializer.

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)

Syntax

'Declaration
Public Shared Function CreateXmlContent ( _
    xmlSerializerObject As Object, _
    serializer As XmlSerializer _
) As XmlSyndicationContent
public static XmlSyndicationContent CreateXmlContent(
    Object xmlSerializerObject,
    XmlSerializer serializer
)

Parameters

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.