SyndicationContent 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一个表示联合内容的基类。
public ref class SyndicationContent abstract
public abstract class SyndicationContent
type SyndicationContent = class
Public MustInherit Class SyndicationContent
- 继承
-
SyndicationContent
- 派生
注解
此类为抽象类,不能直接实例化。 您可以将它用作下列联合内容类型的基类:
构造函数
| SyndicationContent() |
初始化 SyndicationContent 类的新实例。 |
| SyndicationContent(SyndicationContent) |
使用指定的 SyndicationContent 实例初始化 SyndicationContent 类的新实例。 |
属性
| AttributeExtensions |
获取此内容的属性扩展。 |
| Type |
获取联合内容类型。 |
方法
| Clone() |
创建 SyndicationContent 实例的副本。 |
| CreateHtmlContent(String) |
使用指定的 HTML 内容创建新的 TextSyndicationContent 实例。 |
| CreatePlaintextContent(String) |
使用指定的纯文本内容创建新的 TextSyndicationContent 实例。 |
| CreateUrlContent(Uri, String) |
使用指定的 UrlSyndicationContent 和媒体类型创建新的 Uri 实例。 |
| CreateXhtmlContent(String) |
使用指定的 XHTML 内容创建新的 TextSyndicationContent 实例。 |
| CreateXmlContent(Object) |
使用指定的数据协定对象创建新的 XmlSyndicationContent 实例。 |
| CreateXmlContent(Object, XmlObjectSerializer) |
使用指定的数据协定对象和数据协定序列化程序创建新的 XmlSyndicationContent 实例。 |
| CreateXmlContent(Object, XmlSerializer) |
使用指定的对象和 XML 序列化程序创建新的 XmlSyndicationContent 实例。 |
| CreateXmlContent(XmlReader) |
创建 XML 联合内容。 |
| Equals(Object) |
确定指定对象是否等于当前对象。 (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。 (继承自 Object) |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。 (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。 (继承自 Object) |
| WriteContentsTo(XmlWriter) |
将此 SyndicationContent 对象的内容写入指定的 XmlWriter。 |
| WriteTo(XmlWriter, String, String) |
在指定的元素和元素命名空间中,将此对象的内容写入指定的 XmlWriter。 |