Export (0) Print
Expand All

SyndicationFeedFormatter.TryParseAttribute Method (String, String, String, SyndicationLink, String)

Attempts to parse an attribute extension using the specified SyndicationLink instance.

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

protected internal static bool TryParseAttribute(
	string name,
	string ns,
	string value,
	SyndicationLink link,
	string version
)

Parameters

name
Type: System.String
The name of the element.
ns
Type: System.String
The namespace of the element.
value
Type: System.String
The attribute to parse.
link
Type: System.ServiceModel.Syndication.SyndicationLink
The SyndicationLink 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 attribute was parsed successfully.

To control how attribute extensions are parsed, derive your own class from SyndicationLink and override the TryParseAttribute(String, String, String, 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.

Community Additions

ADD
Show:
© 2014 Microsoft