Edit

Share via


XmlSyndicationContent Constructors

Definition

Initializes a new instance of the XmlSyndicationContent.

Overloads

XmlSyndicationContent(XmlSyndicationContent)

Initializes a new instance of the XmlSyndicationContent with the specified XmlSyndicationContent instance.

XmlSyndicationContent(XmlReader)

Initializes a new instance of the XmlSyndicationContent class.

XmlSyndicationContent(String, SyndicationElementExtension)

Initializes a new instance of the XmlSyndicationContent with the specified type and SyndicationElementExtension.

XmlSyndicationContent(String, Object, XmlObjectSerializer)

Initializes a new instance of the XmlSyndicationContent with the specified type, object, and XmlObjectSerializer.

XmlSyndicationContent(String, Object, XmlSerializer)

Initializes a new instance of the XmlSyndicationContent with the specified type, object and XmlSerializer.

XmlSyndicationContent(XmlSyndicationContent)

Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs

Initializes a new instance of the XmlSyndicationContent with the specified XmlSyndicationContent instance.

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)

Parameters

Applies to

XmlSyndicationContent(XmlReader)

Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs

Initializes a new instance of the XmlSyndicationContent class.

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)

Parameters

reader
XmlReader

The XmlReader to read from.

Applies to

XmlSyndicationContent(String, SyndicationElementExtension)

Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs

Initializes a new instance of the XmlSyndicationContent with the specified type and 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)

Parameters

type
String

The type of the content, typically expressed as a MIME content type, for example application/xml or application/xml+customer.

Applies to

XmlSyndicationContent(String, Object, XmlObjectSerializer)

Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs

Initializes a new instance of the XmlSyndicationContent with the specified type, object, and 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)

Parameters

type
String

The type of content.

dataContractExtension
Object

The data contract extension.

dataContractSerializer
XmlObjectSerializer

The XmlObjectSerializer to use.

Remarks

The DataContractSerializer is one subtype of XmlObjectSerializer. If null is passed, a default instance of DataContractSerializer is instantiated.

Applies to

XmlSyndicationContent(String, Object, XmlSerializer)

Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs
Source:
XmlSyndicationContent.cs

Initializes a new instance of the XmlSyndicationContent with the specified type, object and 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)

Parameters

type
String

The type of content.

xmlSerializerExtension
Object

The XML serializer extension.

serializer
XmlSerializer

The XmlSerializer to use.

Applies to