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

แชร์ผ่าน


ServiceDocumentFormatter.WriteAttributeExtensions Method

Definition

Writes attribute extensions.

Overloads

WriteAttributeExtensions(XmlWriter, CategoriesDocument, String)

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

Writes attribute extensions.

C#
protected static void WriteAttributeExtensions(System.Xml.XmlWriter writer, System.ServiceModel.Syndication.CategoriesDocument categories, string version);

Parameters

writer
XmlWriter

The XmlWriter to write to.

categories
CategoriesDocument

The CategoriesDocument to use to write the element extensions.

version
String

The syndication version to use when writing.

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)

WriteAttributeExtensions(XmlWriter, ResourceCollectionInfo, String)

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

Writes attribute extensions.

C#
protected static void WriteAttributeExtensions(System.Xml.XmlWriter writer, System.ServiceModel.Syndication.ResourceCollectionInfo collection, string version);

Parameters

writer
XmlWriter

The XmlWriter to write to.

collection
ResourceCollectionInfo

The ResourceCollectionInfo to use to write the attribute extensions.

version
String

The syndication version to use when writing the attribute extensions.

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)

WriteAttributeExtensions(XmlWriter, ServiceDocument, String)

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

Writes attribute extensions.

C#
protected static void WriteAttributeExtensions(System.Xml.XmlWriter writer, System.ServiceModel.Syndication.ServiceDocument document, string version);

Parameters

writer
XmlWriter

The XmlWriter to write to.

document
ServiceDocument

The ServiceDocument to use to write the attribute extensions.

version
String

The syndication version to use when writing the attribute extensions.

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)

WriteAttributeExtensions(XmlWriter, Workspace, String)

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

Writes attribute extensions.

C#
protected static void WriteAttributeExtensions(System.Xml.XmlWriter writer, System.ServiceModel.Syndication.Workspace workspace, string version);

Parameters

writer
XmlWriter

The XmlWriter to write to.

workspace
Workspace

The Workspace to use to write the attribute extensions.

version
String

The syndication version to use when writing the attribute extensions.

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)