Edit

Share via


SyndicationContent.CreateXmlContent Method

Definition

Creates a new XmlSyndicationContent instance.

Overloads

CreateXmlContent(Object)

Creates a new XmlSyndicationContent instance with the specified data contract object.

CreateXmlContent(XmlReader)

Creates XML syndication content.

CreateXmlContent(Object, XmlObjectSerializer)

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

CreateXmlContent(Object, XmlSerializer)

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

CreateXmlContent(Object)

Source:
SyndicationContent.cs
Source:
SyndicationContent.cs
Source:
SyndicationContent.cs
Source:
SyndicationContent.cs

Creates a new XmlSyndicationContent instance with the specified data contract object.

public:
 static System::ServiceModel::Syndication::XmlSyndicationContent ^ CreateXmlContent(System::Object ^ dataContractObject);
public static System.ServiceModel.Syndication.XmlSyndicationContent CreateXmlContent (object dataContractObject);
static member CreateXmlContent : obj -> System.ServiceModel.Syndication.XmlSyndicationContent
Public Shared Function CreateXmlContent (dataContractObject As Object) As XmlSyndicationContent

Parameters

dataContractObject
Object

The data contract object.

Returns

A new XmlSyndicationContent instance.

Applies to

CreateXmlContent(XmlReader)

Source:
SyndicationContent.cs
Source:
SyndicationContent.cs
Source:
SyndicationContent.cs
Source:
SyndicationContent.cs

Creates XML syndication content.

public:
 static System::ServiceModel::Syndication::XmlSyndicationContent ^ CreateXmlContent(System::Xml::XmlReader ^ xmlReader);
public static System.ServiceModel.Syndication.XmlSyndicationContent CreateXmlContent (System.Xml.XmlReader xmlReader);
static member CreateXmlContent : System.Xml.XmlReader -> System.ServiceModel.Syndication.XmlSyndicationContent
Public Shared Function CreateXmlContent (xmlReader As XmlReader) As XmlSyndicationContent

Parameters

xmlReader
XmlReader

The XmlReader to read from.

Returns

An instance of the XmlSyndicationContent class that contains the new content.

Applies to

CreateXmlContent(Object, XmlObjectSerializer)

Source:
SyndicationContent.cs
Source:
SyndicationContent.cs
Source:
SyndicationContent.cs
Source:
SyndicationContent.cs

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

public:
 static System::ServiceModel::Syndication::XmlSyndicationContent ^ CreateXmlContent(System::Object ^ dataContractObject, System::Runtime::Serialization::XmlObjectSerializer ^ dataContractSerializer);
public static System.ServiceModel.Syndication.XmlSyndicationContent CreateXmlContent (object dataContractObject, System.Runtime.Serialization.XmlObjectSerializer dataContractSerializer);
static member CreateXmlContent : obj * System.Runtime.Serialization.XmlObjectSerializer -> System.ServiceModel.Syndication.XmlSyndicationContent
Public Shared Function CreateXmlContent (dataContractObject As Object, dataContractSerializer As XmlObjectSerializer) As XmlSyndicationContent

Parameters

dataContractObject
Object

The data contract object.

dataContractSerializer
XmlObjectSerializer

The data contract serializer.

Returns

A new XmlSyndicationContent instance.

Applies to

CreateXmlContent(Object, XmlSerializer)

Source:
SyndicationContent.cs
Source:
SyndicationContent.cs
Source:
SyndicationContent.cs
Source:
SyndicationContent.cs

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

public:
 static System::ServiceModel::Syndication::XmlSyndicationContent ^ CreateXmlContent(System::Object ^ xmlSerializerObject, System::Xml::Serialization::XmlSerializer ^ serializer);
public static System.ServiceModel.Syndication.XmlSyndicationContent CreateXmlContent (object xmlSerializerObject, System.Xml.Serialization.XmlSerializer serializer);
static member CreateXmlContent : obj * System.Xml.Serialization.XmlSerializer -> System.ServiceModel.Syndication.XmlSyndicationContent
Public Shared Function CreateXmlContent (xmlSerializerObject As Object, serializer As XmlSerializer) As XmlSyndicationContent

Parameters

xmlSerializerObject
Object

The object.

serializer
XmlSerializer

The XML serializer.

Returns

A new XmlSyndicationContent instance.

Applies to