Compartir a través de


XmlSyndicationContent Constructor (String, Object, XmlObjectSerializer)

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

Initializes a new instance of the XmlSyndicationContent with the specified type, object, and XmlObjectSerializer.

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

Syntax

'Declaration
Public Sub New ( _
    type As String, _
    dataContractExtension As Object, _
    dataContractSerializer As XmlObjectSerializer _
)
public XmlSyndicationContent(
    string type,
    Object dataContractExtension,
    XmlObjectSerializer dataContractSerializer
)

Parameters

  • dataContractExtension
    Type: System.Object
    The data contract extension.

Remarks

The DataContractSerializer is one subtype of XmlObjectSerializer. If null is passed, a default instance of DataContractSerializer is instantiated.

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.