Modifier

Partager via


SyndicationItemFormatter.LoadElementExtensions Method

Definition

Loads element extensions.

Overloads

LoadElementExtensions(XmlReader, SyndicationPerson, Int32)

Loads element extensions into the specified SyndicationPerson using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationLink, Int32)

Loads element extensions into the specified SyndicationLink using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationCategory, Int32)

Loads element extensions into the specified SyndicationCategory using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationItem, Int32)

Loads element extensions into the specified SyndicationItem using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationPerson, Int32)

Source:
SyndicationItemFormatter.cs
Source:
SyndicationItemFormatter.cs
Source:
SyndicationItemFormatter.cs

Loads element extensions into the specified SyndicationPerson using the specified XmlReader and maximum extension size.

protected:
 static void LoadElementExtensions(System::Xml::XmlReader ^ reader, System::ServiceModel::Syndication::SyndicationPerson ^ person, int maxExtensionSize);
protected static void LoadElementExtensions (System.Xml.XmlReader reader, System.ServiceModel.Syndication.SyndicationPerson person, int maxExtensionSize);
static member LoadElementExtensions : System.Xml.XmlReader * System.ServiceModel.Syndication.SyndicationPerson * int -> unit
Protected Shared Sub LoadElementExtensions (reader As XmlReader, person As SyndicationPerson, maxExtensionSize As Integer)

Parameters

reader
XmlReader

The XmlReader to read from.

person
SyndicationPerson

The SyndicationPerson to load the element extensions into.

maxExtensionSize
Int32

The maximum allowable size for an element extension (in bytes).

Exceptions

Invalid XML encountered during read.

Remarks

The RSS 2.0 and Atom 1.0 specifications allow you to add custom element extensions to a syndication feed. This method allows you to read in these element extensions from an XmlReader.

Applies to

Source:
SyndicationItemFormatter.cs
Source:
SyndicationItemFormatter.cs
Source:
SyndicationItemFormatter.cs

Loads element extensions into the specified SyndicationLink using the specified XmlReader and maximum extension size.

protected:
 static void LoadElementExtensions(System::Xml::XmlReader ^ reader, System::ServiceModel::Syndication::SyndicationLink ^ link, int maxExtensionSize);
protected static void LoadElementExtensions (System.Xml.XmlReader reader, System.ServiceModel.Syndication.SyndicationLink link, int maxExtensionSize);
static member LoadElementExtensions : System.Xml.XmlReader * System.ServiceModel.Syndication.SyndicationLink * int -> unit
Protected Shared Sub LoadElementExtensions (reader As XmlReader, link As SyndicationLink, maxExtensionSize As Integer)

Parameters

reader
XmlReader

The XmlReader to read from.

link
SyndicationLink

The SyndicationLink to load the element extensions into.

maxExtensionSize
Int32

The maximum allowable size for an element extension (in bytes).

Remarks

The RSS 2.0 and Atom 1.0 specifications allow you to add custom element extensions to a syndication feed. This method allows you to read in these element extensions from an XmlReader.

Applies to

LoadElementExtensions(XmlReader, SyndicationCategory, Int32)

Source:
SyndicationItemFormatter.cs
Source:
SyndicationItemFormatter.cs
Source:
SyndicationItemFormatter.cs

Loads element extensions into the specified SyndicationCategory using the specified XmlReader and maximum extension size.

protected:
 static void LoadElementExtensions(System::Xml::XmlReader ^ reader, System::ServiceModel::Syndication::SyndicationCategory ^ category, int maxExtensionSize);
protected static void LoadElementExtensions (System.Xml.XmlReader reader, System.ServiceModel.Syndication.SyndicationCategory category, int maxExtensionSize);
static member LoadElementExtensions : System.Xml.XmlReader * System.ServiceModel.Syndication.SyndicationCategory * int -> unit
Protected Shared Sub LoadElementExtensions (reader As XmlReader, category As SyndicationCategory, maxExtensionSize As Integer)

Parameters

reader
XmlReader

The XmlReader to read from.

category
SyndicationCategory

The SyndicationCategory to load the element extensions into.

maxExtensionSize
Int32

The maximum allowable size for an element extension (in bytes).

Remarks

The RSS 2.0 and Atom 1.0 specifications allow you to add custom element extensions to a syndication feed. This method allows you to read in these element extensions from an XmlReader.

Applies to

LoadElementExtensions(XmlReader, SyndicationItem, Int32)

Source:
SyndicationItemFormatter.cs
Source:
SyndicationItemFormatter.cs
Source:
SyndicationItemFormatter.cs

Loads element extensions into the specified SyndicationItem using the specified XmlReader and maximum extension size.

protected:
 static void LoadElementExtensions(System::Xml::XmlReader ^ reader, System::ServiceModel::Syndication::SyndicationItem ^ item, int maxExtensionSize);
protected static void LoadElementExtensions (System.Xml.XmlReader reader, System.ServiceModel.Syndication.SyndicationItem item, int maxExtensionSize);
static member LoadElementExtensions : System.Xml.XmlReader * System.ServiceModel.Syndication.SyndicationItem * int -> unit
Protected Shared Sub LoadElementExtensions (reader As XmlReader, item As SyndicationItem, maxExtensionSize As Integer)

Parameters

reader
XmlReader

The XmlReader to read from.

item
SyndicationItem

The SyndicationItem to load the element extensions into.

maxExtensionSize
Int32

The maximum allowable size for an element extension (in bytes).

Remarks

The RSS 2.0 and Atom 1.0 specifications allow you to add custom element extensions to a syndication feed. This method allows you to read in these element extensions from an XmlReader.

Applies to