SyndicationItemFormatter.LoadElementExtensions 方法

定义

加载元素扩展。Loads element extensions.

重载

LoadElementExtensions(XmlReader, SyndicationPerson, Int32)

使用指定的 SyndicationPerson 和最大扩展大小将元素扩展加载到指定的 XmlReaderLoads element extensions into the specified SyndicationPerson using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationLink, Int32)

使用指定的 SyndicationLink 和最大扩展大小将元素扩展加载到指定的 XmlReaderLoads element extensions into the specified SyndicationLink using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationCategory, Int32)

使用指定的 SyndicationCategory 和最大扩展大小将元素扩展加载到指定的 XmlReaderLoads element extensions into the specified SyndicationCategory using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationItem, Int32)

使用指定的 SyndicationItem 和最大扩展大小将元素扩展加载到指定的 XmlReaderLoads element extensions into the specified SyndicationItem using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationPerson, Int32)

使用指定的 SyndicationPerson 和最大扩展大小将元素扩展加载到指定的 XmlReaderLoads 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 public:
 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);
protected internal 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)
Protected Friend Shared Sub LoadElementExtensions (reader As XmlReader, person As SyndicationPerson, maxExtensionSize As Integer)

参数

reader
XmlReader

要从其中进行读取的 XmlReaderThe XmlReader to read from.

person
SyndicationPerson

要向其中加载元素扩展的 SyndicationPersonThe SyndicationPerson to load the element extensions into.

maxExtensionSize
Int32

元素扩展的最大允许大小(以字节为单位)。The maximum allowable size for an element extension (in bytes).

例外

读取过程中遇到无效的 XML。Invalid XML encountered during read.

注解

RSS 2.0 和 Atom 1.0 规范允许您向联合源中添加自定义元素扩展。The RSS 2.0 and Atom 1.0 specifications allow you to add custom element extensions to a syndication feed. 此方法允许您从 XmlReader 中读入这些元素扩展。This method allows you to read in these element extensions from an XmlReader.

适用于

使用指定的 SyndicationLink 和最大扩展大小将元素扩展加载到指定的 XmlReaderLoads 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 public:
 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);
protected internal 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)
Protected Friend Shared Sub LoadElementExtensions (reader As XmlReader, link As SyndicationLink, maxExtensionSize As Integer)

参数

reader
XmlReader

要从其中进行读取的 XmlReaderThe XmlReader to read from.

link
SyndicationLink

要向其中加载元素扩展的 SyndicationLinkThe SyndicationLink to load the element extensions into.

maxExtensionSize
Int32

元素扩展的最大允许大小(以字节为单位)。The maximum allowable size for an element extension (in bytes).

注解

RSS 2.0 和 Atom 1.0 规范允许您向联合源中添加自定义元素扩展。The RSS 2.0 and Atom 1.0 specifications allow you to add custom element extensions to a syndication feed. 此方法允许您从 XmlReader 中读入这些元素扩展。This method allows you to read in these element extensions from an XmlReader.

适用于

LoadElementExtensions(XmlReader, SyndicationCategory, Int32)

使用指定的 SyndicationCategory 和最大扩展大小将元素扩展加载到指定的 XmlReaderLoads 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 public:
 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);
protected internal 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)
Protected Friend Shared Sub LoadElementExtensions (reader As XmlReader, category As SyndicationCategory, maxExtensionSize As Integer)

参数

reader
XmlReader

要从其中进行读取的 XmlReaderThe XmlReader to read from.

category
SyndicationCategory

要向其中加载元素扩展的 SyndicationCategoryThe SyndicationCategory to load the element extensions into.

maxExtensionSize
Int32

元素扩展的最大允许大小(以字节为单位)。The maximum allowable size for an element extension (in bytes).

注解

RSS 2.0 和 Atom 1.0 规范允许您向联合源中添加自定义元素扩展。The RSS 2.0 and Atom 1.0 specifications allow you to add custom element extensions to a syndication feed. 此方法允许您从 XmlReader 中读入这些元素扩展。This method allows you to read in these element extensions from an XmlReader.

适用于

LoadElementExtensions(XmlReader, SyndicationItem, Int32)

使用指定的 SyndicationItem 和最大扩展大小将元素扩展加载到指定的 XmlReaderLoads 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 public:
 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);
protected internal 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)
Protected Friend Shared Sub LoadElementExtensions (reader As XmlReader, item As SyndicationItem, maxExtensionSize As Integer)

参数

reader
XmlReader

要从其中进行读取的 XmlReaderThe XmlReader to read from.

item
SyndicationItem

要向其中加载元素扩展的 SyndicationItemThe SyndicationItem to load the element extensions into.

maxExtensionSize
Int32

元素扩展的最大允许大小(以字节为单位)。The maximum allowable size for an element extension (in bytes).

注解

RSS 2.0 和 Atom 1.0 规范允许您向联合源中添加自定义元素扩展。The RSS 2.0 and Atom 1.0 specifications allow you to add custom element extensions to a syndication feed. 此方法允许您从 XmlReader 中读入这些元素扩展。This method allows you to read in these element extensions from an XmlReader.

适用于