SyndicationContent.CreateXmlContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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
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
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
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.