SyndicationElementExtension Constructor (String, String, Object, XmlObjectSerializer)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Initializes a new instance of the SyndicationElementExtension class with the specified outer name, outer namespace, object, and data contract serializer.
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Syntax
'Declaration
Public Sub New ( _
outerName As String, _
outerNamespace As String, _
dataContractExtension As Object, _
dataContractSerializer As XmlObjectSerializer _
)
public SyndicationElementExtension(
string outerName,
string outerNamespace,
Object dataContractExtension,
XmlObjectSerializer dataContractSerializer
)
Parameters
- outerName
Type: System.String
The name of the enclosing XML element.
- outerNamespace
Type: System.String
The namespace of the enclosing XML element.
- dataContractExtension
Type: System.Object
The object used to initialize the extension.
- dataContractSerializer
Type: System.Runtime.Serialization.XmlObjectSerializer
The data contract 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.