ServiceDocumentFormatter.WriteElementExtensions 方法

定义

写入元素扩展。Writes element extensions.

重载

WriteElementExtensions(XmlWriter, Workspace, String)

写入元素扩展。Writes element extensions.

WriteElementExtensions(XmlWriter, CategoriesDocument, String)

写入元素扩展。Writes element extensions.

WriteElementExtensions(XmlWriter, ResourceCollectionInfo, String)

写入元素扩展。Writes element extensions.

WriteElementExtensions(XmlWriter, ServiceDocument, String)

写入元素扩展。Writes element extensions.

WriteElementExtensions(XmlWriter, Workspace, String)

写入元素扩展。Writes element extensions.

protected:
 static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::Workspace ^ workspace, System::String ^ version);
protected static void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.Workspace workspace, string version);
static member WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.Workspace * string -> unit
Protected Shared Sub WriteElementExtensions (writer As XmlWriter, workspace As Workspace, version As String)

参数

writer
XmlWriter

要向其中进行写入的 XmlWriterThe XmlWriter to write to.

workspace
Workspace

用于写入元素扩展的 WorkspaceThe Workspace to use to write the element extensions.

version
String

要在写入元素扩展时使用的联合版本。The syndication version to use when writing the element extensions.

适用于

WriteElementExtensions(XmlWriter, CategoriesDocument, String)

写入元素扩展。Writes element extensions.

protected:
 static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::CategoriesDocument ^ categories, System::String ^ version);
protected static void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.CategoriesDocument categories, string version);
static member WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.CategoriesDocument * string -> unit
Protected Shared Sub WriteElementExtensions (writer As XmlWriter, categories As CategoriesDocument, version As String)

参数

writer
XmlWriter

要向其中进行写入的 XmlWriterThe XmlWriter to write to.

categories
CategoriesDocument

用于写入元素扩展的 CategoriesDocumentThe CategoriesDocument to use to write the element extensions.

version
String

要在写入元素扩展时使用的联合版本。The syndication version to use when writing the element extensions.

适用于

WriteElementExtensions(XmlWriter, ResourceCollectionInfo, String)

写入元素扩展。Writes element extensions.

protected:
 static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::ResourceCollectionInfo ^ collection, System::String ^ version);
protected static void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.ResourceCollectionInfo collection, string version);
static member WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.ResourceCollectionInfo * string -> unit
Protected Shared Sub WriteElementExtensions (writer As XmlWriter, collection As ResourceCollectionInfo, version As String)

参数

writer
XmlWriter

要向其中进行写入的 XmlWriterThe XmlWriter to write to.

collection
ResourceCollectionInfo

用于写入元素扩展的 ResourceCollectionInfoThe ResourceCollectionInfo to use to write the element extensions.

version
String

要在写入元素扩展时使用的联合版本。The syndication version to use when writing the element extensions.

适用于

WriteElementExtensions(XmlWriter, ServiceDocument, String)

写入元素扩展。Writes element extensions.

protected:
 static void WriteElementExtensions(System::Xml::XmlWriter ^ writer, System::ServiceModel::Syndication::ServiceDocument ^ document, System::String ^ version);
protected static void WriteElementExtensions (System.Xml.XmlWriter writer, System.ServiceModel.Syndication.ServiceDocument document, string version);
static member WriteElementExtensions : System.Xml.XmlWriter * System.ServiceModel.Syndication.ServiceDocument * string -> unit
Protected Shared Sub WriteElementExtensions (writer As XmlWriter, document As ServiceDocument, version As String)

参数

writer
XmlWriter

要向其中进行写入的 XmlWriterThe XmlWriter to write to.

document
ServiceDocument

用于写入元素扩展的 ServiceDocumentThe ServiceDocument to use to write the element extensions.

version
String

要在写入元素扩展时使用的联合版本。The syndication version to use when writing the element extensions.

适用于