This topic has not yet been rated - Rate this topic

SyndicationFeedFormatter.TryParseElement Method (XmlReader, SyndicationPerson, String)

Attempts to parse an element extension using the specified SyndicationPerson instance.

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
protected internal static bool TryParseElement(
	XmlReader reader,
	SyndicationPerson person,
	string version
)

Parameters

reader
Type: System.Xml.XmlReader
The XmlReader to read from.
person
Type: System.ServiceModel.Syndication.SyndicationPerson
The SyndicationPerson instance to use.
version
Type: System.String
The syndication version to use when parsing.

Return Value

Type: System.Boolean
A value that indicates whether the element was parsed successfully.

To control how element extensions are parsed, derive your own class from SyndicationPerson and override the TryParseElement(XmlReader, String) method.

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.