Partager via


XmlSyndicationContent Constructor (String, SyndicationElementExtension)

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

Initializes a new instance of the XmlSyndicationContent with the specified type and SyndicationElementExtension.

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

Syntax

'Declaration
Public Sub New ( _
    type As String, _
    extension As SyndicationElementExtension _
)
public XmlSyndicationContent(
    string type,
    SyndicationElementExtension extension
)

Parameters

  • type
    Type: System.String
    The type of the content, typically expressed as a MIME content type, for example application/xml or application/xml+customer.

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.