Compartir a través de


SyndicationContent.CreateXmlContent Método

Definición

Crea una nueva instancia de XmlSyndicationContent.

Sobrecargas

CreateXmlContent(Object)

Crea una nueva instancia de XmlSyndicationContent con el objeto de contrato de datos especificado.

CreateXmlContent(XmlReader)

Crea contenido de distribución XML.

CreateXmlContent(Object, XmlObjectSerializer)

Crea una nueva instancia de XmlSyndicationContent con el objeto de contrato de datos y el serializador de contrato de datos especificados.

CreateXmlContent(Object, XmlSerializer)

Crea una nueva instancia de XmlSyndicationContent con el serializador XML y objeto especificados.

CreateXmlContent(Object)

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

Crea una nueva instancia de XmlSyndicationContent con el objeto de contrato de datos especificado.

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

Parámetros

dataContractObject
Object

El objeto de contrato de datos.

Devoluciones

Nueva instancia de XmlSyndicationContent.

Se aplica a

CreateXmlContent(XmlReader)

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

Crea contenido de distribución XML.

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

Parámetros

xmlReader
XmlReader

XmlReader desde el que se va a leer.

Devoluciones

Instancia de la clase XmlSyndicationContent que contiene el nuevo contenido.

Se aplica a

CreateXmlContent(Object, XmlObjectSerializer)

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

Crea una nueva instancia de XmlSyndicationContent con el objeto de contrato de datos y el serializador de contrato de datos especificados.

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

Parámetros

dataContractObject
Object

El objeto de contrato de datos.

dataContractSerializer
XmlObjectSerializer

El serializador de contrato de datos

Devoluciones

Nueva instancia de XmlSyndicationContent.

Se aplica a

CreateXmlContent(Object, XmlSerializer)

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

Crea una nueva instancia de XmlSyndicationContent con el serializador XML y objeto especificados.

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

Parámetros

xmlSerializerObject
Object

El objeto.

serializer
XmlSerializer

El serializador XML.

Devoluciones

Nueva instancia de XmlSyndicationContent.

Se aplica a