共用方式為


SyndicationElementExtensionCollection.Add Method (String, String, Object, XmlObjectSerializer)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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.Syndication (in System.ServiceModel.Syndication.dll)

Syntax

'Declaration
Public Sub Add ( _
    outerName As String, _
    outerNamespace As String, _
    dataContractExtension As Object, _
    dataContractSerializer As XmlObjectSerializer _
)
public void Add(
    string outerName,
    string outerNamespace,
    Object dataContractExtension,
    XmlObjectSerializer dataContractSerializer
)

Parameters

  • dataContractExtension
    Type: System.Object
    The object to add to the collection.

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.