Export (0) Print
Expand All

SyndicationElementExtensionCollection.ReadElementExtensions<TExtension> Method (String, String)

Reads the element extensions with the specified name and namespace.

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

public Collection<TExtension> ReadElementExtensions<TExtension>(
	string extensionName,
	string extensionNamespace
)

Type Parameters

TExtension

The type of the extension to read.

Parameters

extensionName
Type: System.String
The name of the element extension.
extensionNamespace
Type: System.String
The namespace of the element extension.

Return Value

Type: System.Collections.ObjectModel.Collection<TExtension>
A collection of element extension objects.

ExceptionCondition
InvalidDataContractException

The type is not a valid data contract.

SerializationException

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