语言

XmlSyndicationContent 类

定义

表示不打算在浏览器中显示的 XML 联合内容。

public ref class XmlSyndicationContent : System::ServiceModel::Syndication::SyndicationContent
public class XmlSyndicationContent : System.ServiceModel.Syndication.SyndicationContent
type XmlSyndicationContent = class
    inherit SyndicationContent
Public Class XmlSyndicationContent
Inherits SyndicationContent
继承
XmlSyndicationContent

注解

此类用于将序列化的对象或其他应用程序状态数据作为 XML 发送。

构造函数

名称 说明
XmlSyndicationContent(String, Object, XmlObjectSerializer)

使用 XmlSyndicationContent 指定的类型、对象和 XmlObjectSerializer.

XmlSyndicationContent(String, Object, XmlSerializer)

使用指定的类型、对象和 XmlSyndicationContent. 初始化新实例XmlSerializer。

XmlSyndicationContent(String, SyndicationElementExtension)

使用指定的类型初始化新实例 XmlSyndicationContent 和 SyndicationElementExtension。

XmlSyndicationContent(XmlReader)

初始化 XmlSyndicationContent 类的新实例。

XmlSyndicationContent(XmlSyndicationContent)

使用指定的XmlSyndicationContent实例初始化该实例的新实例XmlSyndicationContent。

属性

名称 说明
AttributeExtensions

获取此内容的属性扩展。

(继承自 SyndicationContent)
Extension

获取 SyndicationElementExtension。

Type

获取 XML 联合内容的类型。

方法

名称 说明
Clone()

创建现有 XmlSyndicationContent 实例的副本。

Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetReaderAtContent()

从 . 的内容 XmlSyndicationContent中获取读取器。

GetType()

获取当前实例的 Type。

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ReadContent<TContent>()

将指定类型的内容读入 。XmlSyndicationContent

ReadContent<TContent>(XmlObjectSerializer)

使用指定的序列化程序将指定类型的内容读入 XmlSyndicationContent 其中。

ReadContent<TContent>(XmlSerializer)

使用指定的序列化程序将指定类型的内容读入 XmlSyndicationContent 其中。

ToString()

返回一个表示当前对象的字符串。

(继承自 Object)
WriteContentsTo(XmlWriter)

将内容 XmlSyndicationContent 写入指定的 XmlWriter。

WriteTo(XmlWriter, String, String)

将此对象的内容写入指定 XmlWriter 元素和元素命名空间中指定的内容。

(继承自 SyndicationContent)

适用于