SyndicationElementExtension Constructors

Definition

Initializes a new instance of the SyndicationElementExtension class.

Overloads

SyndicationElementExtension(Object)

Initializes a new instance of the SyndicationElementExtension class with the specified object.

SyndicationElementExtension(XmlReader)

Initializes a new instance of the SyndicationElementExtension class.

SyndicationElementExtension(Object, XmlObjectSerializer)

Initializes a new instance of the SyndicationElementExtension class with the specified object and data contract serializer.

SyndicationElementExtension(Object, XmlSerializer)

Initializes a new instance of the SyndicationElementExtension class with the specified object and XML serializer.

SyndicationElementExtension(String, String, Object)

Initializes a new instance of the SyndicationElementExtension class with the specified outer name, outer namespace, and object.

SyndicationElementExtension(String, String, Object, XmlObjectSerializer)

Initializes a new instance of the SyndicationElementExtension class with the specified outer name, outer namespace, object, and data contract serializer.

SyndicationElementExtension(Object)

Source:
SyndicationElementExtension.cs
Source:
SyndicationElementExtension.cs
Source:
SyndicationElementExtension.cs

Initializes a new instance of the SyndicationElementExtension class with the specified object.

C#
public SyndicationElementExtension(object dataContractExtension);

Parameters

dataContractExtension
Object

The data contract object used to initialize the extension.

Applies to

.NET 10 (package-provided) i druge verzije
Proizvod Verzije
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

SyndicationElementExtension(XmlReader)

Source:
SyndicationElementExtension.cs
Source:
SyndicationElementExtension.cs
Source:
SyndicationElementExtension.cs

Initializes a new instance of the SyndicationElementExtension class.

C#
public SyndicationElementExtension(System.Xml.XmlReader xmlReader);

Parameters

xmlReader
XmlReader

The XmlReader that contains the content of the new SyndicationElementExtension.

Applies to

.NET 10 (package-provided) i druge verzije
Proizvod Verzije
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

SyndicationElementExtension(Object, XmlObjectSerializer)

Source:
SyndicationElementExtension.cs
Source:
SyndicationElementExtension.cs
Source:
SyndicationElementExtension.cs

Initializes a new instance of the SyndicationElementExtension class with the specified object and data contract serializer.

C#
public SyndicationElementExtension(object dataContractExtension, System.Runtime.Serialization.XmlObjectSerializer dataContractSerializer);

Parameters

dataContractExtension
Object

The data contract object used to initialize the extension.

dataContractSerializer
XmlObjectSerializer

The data contract serializer to use.

Applies to

.NET 10 (package-provided) i druge verzije
Proizvod Verzije
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

SyndicationElementExtension(Object, XmlSerializer)

Source:
SyndicationElementExtension.cs
Source:
SyndicationElementExtension.cs
Source:
SyndicationElementExtension.cs

Initializes a new instance of the SyndicationElementExtension class with the specified object and XML serializer.

C#
public SyndicationElementExtension(object xmlSerializerExtension, System.Xml.Serialization.XmlSerializer serializer);

Parameters

xmlSerializerExtension
Object

The object used to initialize the extension.

serializer
XmlSerializer

The XML serializer to use.

Applies to

.NET 10 (package-provided) i druge verzije
Proizvod Verzije
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

SyndicationElementExtension(String, String, Object)

Source:
SyndicationElementExtension.cs
Source:
SyndicationElementExtension.cs
Source:
SyndicationElementExtension.cs

Initializes a new instance of the SyndicationElementExtension class with the specified outer name, outer namespace, and object.

C#
public SyndicationElementExtension(string outerName, string outerNamespace, object dataContractExtension);

Parameters

outerName
String

The name of the enclosing XML element.

outerNamespace
String

The namespace of the enclosing XML element.

dataContractExtension
Object

The object used to initialize the extension.

Applies to

.NET 10 (package-provided) i druge verzije
Proizvod Verzije
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

SyndicationElementExtension(String, String, Object, XmlObjectSerializer)

Source:
SyndicationElementExtension.cs
Source:
SyndicationElementExtension.cs
Source:
SyndicationElementExtension.cs

Initializes a new instance of the SyndicationElementExtension class with the specified outer name, outer namespace, object, and data contract serializer.

C#
public SyndicationElementExtension(string outerName, string outerNamespace, object dataContractExtension, System.Runtime.Serialization.XmlObjectSerializer dataContractSerializer);

Parameters

outerName
String

The name of the enclosing XML element.

outerNamespace
String

The namespace of the enclosing XML element.

dataContractExtension
Object

The object used to initialize the extension.

dataContractSerializer
XmlObjectSerializer

The data contract serializer to use.

Applies to

.NET 10 (package-provided) i druge verzije
Proizvod Verzije
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)