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

แชร์ผ่าน


ServiceDocumentFormatter.TryParseElement Method

Definition

Attempts to parse an element extension.

Overloads

TryParseElement(XmlReader, CategoriesDocument, String)

Attempts to parse an element extension.

TryParseElement(XmlReader, ResourceCollectionInfo, String)

Attempts to parse an element extension.

TryParseElement(XmlReader, ServiceDocument, String)

Attempts to parse an element extension.

TryParseElement(XmlReader, Workspace, String)

Attempts to parse an element extension.

TryParseElement(XmlReader, CategoriesDocument, String)

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

Attempts to parse an element extension.

C#
protected static bool TryParseElement(System.Xml.XmlReader reader, System.ServiceModel.Syndication.CategoriesDocument categories, string version);

Parameters

reader
XmlReader

The XmlReader to read from.

categories
CategoriesDocument

The CategoriesDocument to use to parse the element extension.

version
String

The syndication version to use when parsing.

Returns

true if the element extension was parsed successfully; otherwise, false.

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)

TryParseElement(XmlReader, ResourceCollectionInfo, String)

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

Attempts to parse an element extension.

C#
protected static bool TryParseElement(System.Xml.XmlReader reader, System.ServiceModel.Syndication.ResourceCollectionInfo collection, string version);

Parameters

reader
XmlReader

The XmlReader to read from.

collection
ResourceCollectionInfo

The ResourceCollectionInfo to use to parse the element extension.

version
String

The syndication version to use when parsing.

Returns

true if the element extension was parsed successfully; otherwise, false.

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)

TryParseElement(XmlReader, ServiceDocument, String)

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

Attempts to parse an element extension.

C#
protected static bool TryParseElement(System.Xml.XmlReader reader, System.ServiceModel.Syndication.ServiceDocument document, string version);

Parameters

reader
XmlReader

The XmlReader to read from.

document
ServiceDocument

The ServiceDocument to use to parse the element extension.

version
String

The syndication version to use when parsing.

Returns

true if the element extension was successfully parsed.

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)

TryParseElement(XmlReader, Workspace, String)

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

Attempts to parse an element extension.

C#
protected static bool TryParseElement(System.Xml.XmlReader reader, System.ServiceModel.Syndication.Workspace workspace, string version);

Parameters

reader
XmlReader

The XmlReader to read from.

workspace
Workspace

The Workspace to use to parse the element extension.

version
String

The syndication version to use when parsing.

Returns

true if the element extension was parsed successfully; otherwise, false.

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)