Sdílet prostřednictvím


XmlSyndicationContent Konstruktory

Definice

Inicializuje novou instanci XmlSyndicationContent.

Přetížení

XmlSyndicationContent(XmlSyndicationContent)

Inicializuje novou instanci XmlSyndicationContent se zadanou XmlSyndicationContent instancí.

XmlSyndicationContent(XmlReader)

Inicializuje novou instanci XmlSyndicationContent třídy.

XmlSyndicationContent(String, SyndicationElementExtension)

Inicializuje novou instanci XmlSyndicationContent se zadaným typem a SyndicationElementExtension.

XmlSyndicationContent(String, Object, XmlObjectSerializer)

Inicializuje novou instanci XmlSyndicationContent se zadaným typem, objektem a XmlObjectSerializer.

XmlSyndicationContent(String, Object, XmlSerializer)

Inicializuje novou instanci XmlSyndicationContent se zadaným typem, objektem a XmlSerializer.

XmlSyndicationContent(XmlSyndicationContent)

Inicializuje novou instanci XmlSyndicationContent se zadanou XmlSyndicationContent instancí.

protected:
 XmlSyndicationContent(System::ServiceModel::Syndication::XmlSyndicationContent ^ source);
protected XmlSyndicationContent (System.ServiceModel.Syndication.XmlSyndicationContent source);
new System.ServiceModel.Syndication.XmlSyndicationContent : System.ServiceModel.Syndication.XmlSyndicationContent -> System.ServiceModel.Syndication.XmlSyndicationContent
Protected Sub New (source As XmlSyndicationContent)

Parametry

Platí pro

XmlSyndicationContent(XmlReader)

Inicializuje novou instanci XmlSyndicationContent třídy.

public:
 XmlSyndicationContent(System::Xml::XmlReader ^ reader);
public XmlSyndicationContent (System.Xml.XmlReader reader);
new System.ServiceModel.Syndication.XmlSyndicationContent : System.Xml.XmlReader -> System.ServiceModel.Syndication.XmlSyndicationContent
Public Sub New (reader As XmlReader)

Parametry

reader
XmlReader

Čtení XmlReader z.

Platí pro

XmlSyndicationContent(String, SyndicationElementExtension)

Inicializuje novou instanci XmlSyndicationContent se zadaným typem a SyndicationElementExtension.

public:
 XmlSyndicationContent(System::String ^ type, System::ServiceModel::Syndication::SyndicationElementExtension ^ extension);
public XmlSyndicationContent (string type, System.ServiceModel.Syndication.SyndicationElementExtension extension);
new System.ServiceModel.Syndication.XmlSyndicationContent : string * System.ServiceModel.Syndication.SyndicationElementExtension -> System.ServiceModel.Syndication.XmlSyndicationContent
Public Sub New (type As String, extension As SyndicationElementExtension)

Parametry

type
String

Typ obsahu, obvykle vyjádřený jako typ obsahu MIME, například application/xml nebo application/xml+customer.

Platí pro

XmlSyndicationContent(String, Object, XmlObjectSerializer)

Inicializuje novou instanci XmlSyndicationContent se zadaným typem, objektem a XmlObjectSerializer.

public:
 XmlSyndicationContent(System::String ^ type, System::Object ^ dataContractExtension, System::Runtime::Serialization::XmlObjectSerializer ^ dataContractSerializer);
public XmlSyndicationContent (string type, object dataContractExtension, System.Runtime.Serialization.XmlObjectSerializer dataContractSerializer);
new System.ServiceModel.Syndication.XmlSyndicationContent : string * obj * System.Runtime.Serialization.XmlObjectSerializer -> System.ServiceModel.Syndication.XmlSyndicationContent
Public Sub New (type As String, dataContractExtension As Object, dataContractSerializer As XmlObjectSerializer)

Parametry

type
String

Typ obsahu.

dataContractExtension
Object

Rozšíření kontraktu dat.

dataContractSerializer
XmlObjectSerializer

Používá XmlObjectSerializer se.

Poznámky

Jedná se DataContractSerializer o jeden podtyp XmlObjectSerializer. Pokud se předá hodnota null, vytvoří se instance výchozí instance DataContractSerializer .

Platí pro

XmlSyndicationContent(String, Object, XmlSerializer)

Inicializuje novou instanci XmlSyndicationContent se zadaným typem, objektem a XmlSerializer.

public:
 XmlSyndicationContent(System::String ^ type, System::Object ^ xmlSerializerExtension, System::Xml::Serialization::XmlSerializer ^ serializer);
public XmlSyndicationContent (string type, object xmlSerializerExtension, System.Xml.Serialization.XmlSerializer serializer);
new System.ServiceModel.Syndication.XmlSyndicationContent : string * obj * System.Xml.Serialization.XmlSerializer -> System.ServiceModel.Syndication.XmlSyndicationContent
Public Sub New (type As String, xmlSerializerExtension As Object, serializer As XmlSerializer)

Parametry

type
String

Typ obsahu.

xmlSerializerExtension
Object

Rozšíření serializátoru XML.

serializer
XmlSerializer

Používá XmlSerializer se.

Platí pro