SyndicationElementExtensionCollection.Add Method (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.

Namespace:   System.ServiceModel.Syndication
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public void Add(
	string outerName,
	string outerNamespace,
	object dataContractExtension,
	XmlObjectSerializer dataContractSerializer
)

Parameters

outerName
Type: System.String

The outer name.

outerNamespace
Type: System.String

The outer namespace.

dataContractExtension
Type: System.Object

The object to add to the collection.

dataContractSerializer
Type: System.Runtime.Serialization.XmlObjectSerializer

The serializer to use.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: