Editar

Partilhar via


SyndicationElementExtensionCollection.Add Method

Definition

Adds a SyndicationElementExtension object to the collection.

Overloads

Add(Object)

Adds the specified SyndicationElementExtension object to the collection.

Add(XmlReader)

Adds a new syndication element extension to the collection.

Add(Object, DataContractSerializer)

Adds the specified object to the collection using the specified data contract serializer.

Add(Object, XmlSerializer)

Adds the specified object to the collection using the specified XML serializer.

Add(String, String, Object)

Adds the specified object to the collection with the specified outer name and outer namespace.

Add(String, String, Object, XmlObjectSerializer)

Adds the specified object to the collection with the specified outer name and outer namespace using the specified data contract serializer.

Add(Object)

Source:
SyndicationElementExtensionCollection.cs
Source:
SyndicationElementExtensionCollection.cs
Source:
SyndicationElementExtensionCollection.cs

Adds the specified SyndicationElementExtension object to the collection.

public:
 void Add(System::Object ^ extension);
public void Add (object extension);
override this.Add : obj -> unit
Public Sub Add (extension As Object)

Parameters

extension
Object

The SyndicationElementExtension object to add.

Applies to

Add(XmlReader)

Source:
SyndicationElementExtensionCollection.cs
Source:
SyndicationElementExtensionCollection.cs
Source:
SyndicationElementExtensionCollection.cs

Adds a new syndication element extension to the collection.

public:
 void Add(System::Xml::XmlReader ^ xmlReader);
public void Add (System.Xml.XmlReader xmlReader);
override this.Add : System.Xml.XmlReader -> unit
Public Sub Add (xmlReader As XmlReader)

Parameters

xmlReader
XmlReader

The XmlReader to read the syndication element extension from.

Applies to

Add(Object, DataContractSerializer)

Source:
SyndicationElementExtensionCollection.cs
Source:
SyndicationElementExtensionCollection.cs
Source:
SyndicationElementExtensionCollection.cs

Adds the specified object to the collection using the specified data contract serializer.

public:
 void Add(System::Object ^ dataContractExtension, System::Runtime::Serialization::DataContractSerializer ^ serializer);
public void Add (object dataContractExtension, System.Runtime.Serialization.DataContractSerializer serializer);
override this.Add : obj * System.Runtime.Serialization.DataContractSerializer -> unit
Public Sub Add (dataContractExtension As Object, serializer As DataContractSerializer)

Parameters

dataContractExtension
Object

The object to add to the collection.

serializer
DataContractSerializer

The serializer to use.

Applies to

Add(Object, XmlSerializer)

Source:
SyndicationElementExtensionCollection.cs
Source:
SyndicationElementExtensionCollection.cs
Source:
SyndicationElementExtensionCollection.cs

Adds the specified object to the collection using the specified XML serializer.

public:
 void Add(System::Object ^ xmlSerializerExtension, System::Xml::Serialization::XmlSerializer ^ serializer);
public void Add (object xmlSerializerExtension, System.Xml.Serialization.XmlSerializer serializer);
override this.Add : obj * System.Xml.Serialization.XmlSerializer -> unit
Public Sub Add (xmlSerializerExtension As Object, serializer As XmlSerializer)

Parameters

xmlSerializerExtension
Object

The object to add to the collection.

serializer
XmlSerializer

The XML serializer to use.

Applies to

Add(String, String, Object)

Source:
SyndicationElementExtensionCollection.cs
Source:
SyndicationElementExtensionCollection.cs
Source:
SyndicationElementExtensionCollection.cs

Adds the specified object to the collection with the specified outer name and outer namespace.

public:
 void Add(System::String ^ outerName, System::String ^ outerNamespace, System::Object ^ dataContractExtension);
public void Add (string outerName, string outerNamespace, object dataContractExtension);
override this.Add : string * string * obj -> unit
Public Sub Add (outerName As String, outerNamespace As String, dataContractExtension As Object)

Parameters

outerName
String

The outer name.

outerNamespace
String

The outer namespace.

dataContractExtension
Object

The object to add to the collection.

Applies to

Add(String, String, Object, XmlObjectSerializer)

Source:
SyndicationElementExtensionCollection.cs
Source:
SyndicationElementExtensionCollection.cs
Source:
SyndicationElementExtensionCollection.cs

Adds the specified object to the collection with the specified outer name and outer namespace using the specified data contract serializer.

public:
 void Add(System::String ^ outerName, System::String ^ outerNamespace, System::Object ^ dataContractExtension, System::Runtime::Serialization::XmlObjectSerializer ^ dataContractSerializer);
public void Add (string outerName, string outerNamespace, object dataContractExtension, System.Runtime.Serialization.XmlObjectSerializer dataContractSerializer);
override this.Add : string * string * obj * System.Runtime.Serialization.XmlObjectSerializer -> unit
Public Sub Add (outerName As String, outerNamespace As String, dataContractExtension As Object, dataContractSerializer As XmlObjectSerializer)

Parameters

outerName
String

The outer name.

outerNamespace
String

The outer namespace.

dataContractExtension
Object

The object to add to the collection.

dataContractSerializer
XmlObjectSerializer

The serializer to use.

Applies to