GetObject(TExtension) Method (XmlSerializer)
Collapse the table of content
Expand the table of content

SyndicationElementExtension.GetObject<TExtension> Method (XmlSerializer)

Gets the object that represents the element extension.

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

public TExtension GetObject<TExtension>(
	XmlSerializer serializer
)

Type Parameters

TExtension

The type of the extension to retrieve.

Parameters

serializer
Type: System.Xml.Serialization.XmlSerializer
The XmlSerializer to use.

Return Value

Type: TExtension
An object of the specified type that contains the element extension.

ExceptionCondition
InvalidOperationException

The input XML cannot be deserialized into the requested type.

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:
© 2016 Microsoft