SyndicationItemFormatter.LoadElementExtensions Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads element extensions.
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. |
- 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
- 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
.NET 10 (package-provided) และรุ่นอื่นๆ
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- 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
- 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
.NET 10 (package-provided) และรุ่นอื่นๆ
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- 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
- 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
.NET 10 (package-provided) และรุ่นอื่นๆ
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- 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
- 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
.NET 10 (package-provided) และรุ่นอื่นๆ
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
คำติชม .NET
.NET เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: