อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


ServiceDocumentFormatter.LoadElementExtensions Method

Definition

Loads a collection of element extensions.

Overloads

LoadElementExtensions(XmlReader, CategoriesDocument, Int32)

Source:
ServiceDocumentFormatter.cs
Source:
ServiceDocumentFormatter.cs
Source:
ServiceDocumentFormatter.cs

Loads element extensions.

C#
protected static void LoadElementExtensions(System.Xml.XmlReader reader, System.ServiceModel.Syndication.CategoriesDocument categories, int maxExtensionSize);

Parameters

reader
XmlReader

The XmlReader to read from.

categories
CategoriesDocument

The CategoriesDocument to use to read the element extensions.

maxExtensionSize
Int32

The maximum size of an element extension to be loaded.

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)

LoadElementExtensions(XmlReader, ResourceCollectionInfo, Int32)

Source:
ServiceDocumentFormatter.cs
Source:
ServiceDocumentFormatter.cs
Source:
ServiceDocumentFormatter.cs

Loads element extensions.

C#
protected static void LoadElementExtensions(System.Xml.XmlReader reader, System.ServiceModel.Syndication.ResourceCollectionInfo collection, int maxExtensionSize);

Parameters

reader
XmlReader

The XmlReader to read from.

collection
ResourceCollectionInfo

The ResourceCollectionInfo to use to load the element extensions.

maxExtensionSize
Int32

The maximum size of an extension to load.

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)

LoadElementExtensions(XmlReader, ServiceDocument, Int32)

Source:
ServiceDocumentFormatter.cs
Source:
ServiceDocumentFormatter.cs
Source:
ServiceDocumentFormatter.cs

Loads element extensions.

C#
protected static void LoadElementExtensions(System.Xml.XmlReader reader, System.ServiceModel.Syndication.ServiceDocument document, int maxExtensionSize);

Parameters

reader
XmlReader

The XmlReader to read from.

document
ServiceDocument

The ServiceDocument to use to read the element extensions.

maxExtensionSize
Int32

The maximum size of an extension to load.

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)

LoadElementExtensions(XmlReader, Workspace, Int32)

Source:
ServiceDocumentFormatter.cs
Source:
ServiceDocumentFormatter.cs
Source:
ServiceDocumentFormatter.cs

Loads element extensions.

C#
protected static void LoadElementExtensions(System.Xml.XmlReader reader, System.ServiceModel.Syndication.Workspace workspace, int maxExtensionSize);

Parameters

reader
XmlReader

The XmlReader to read from.

workspace
Workspace

The Workspace to use to load the element extensions.

maxExtensionSize
Int32

The maximum size of an extension to load.

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)