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