SyndicationElementExtensionCollection.Add Method (Object, DataContractSerializer)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Adds the specified object to the collection using the specified data contract serializer.
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Syntax
'Declaration
Public Sub Add ( _
dataContractExtension As Object, _
serializer As DataContractSerializer _
)
public void Add(
Object dataContractExtension,
DataContractSerializer serializer
)
Parameters
- dataContractExtension
Type: System.Object
The object to add to the collection.
- serializer
Type: System.Runtime.Serialization.DataContractSerializer
The serializer to use.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.