语言

ServiceDocument.ElementExtensions 属性

定义

获取服务文档的元素扩展。

public:
 property System::ServiceModel::Syndication::SyndicationElementExtensionCollection ^ ElementExtensions { System::ServiceModel::Syndication::SyndicationElementExtensionCollection ^ get(); };
public System.ServiceModel.Syndication.SyndicationElementExtensionCollection ElementExtensions { get; }
member this.ElementExtensions : System.ServiceModel.Syndication.SyndicationElementExtensionCollection
Public ReadOnly Property ElementExtensions As SyndicationElementExtensionCollection

属性值

包含 SyndicationElementExtensionCollection 元素扩展的实例。

注解

元素扩展是在 Atom 1.0 或 RSS 2.0 规范中未指定的有效 XML 元素。 可以添加任何有效的 XML 元素作为扩展,前提是其命名空间不同于封闭命名空间。

<mg:MyElement xmlns:mg="http://myserver/elements" />

适用于