Export (0) Print
Expand All

XmlSyndicationContent Constructor (String, Object, XmlObjectSerializer)

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)

public XmlSyndicationContent(
	string type,
	Object dataContractExtension,
	XmlObjectSerializer dataContractSerializer
)

Parameters

type
Type: System.String
The type of content.
dataContractExtension
Type: System.Object
The data contract extension.
dataContractSerializer
Type: System.Runtime.Serialization.XmlObjectSerializer
The XmlObjectSerializer to use.

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

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft