語言

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 元素擴展的實例。

備註

元素擴充是有效的 XML 元素,且這些元素並未在 Atom 1.0 或 RSS 2.0 規範中指定。 只要其命名空間與包覆的命名空間不同,即可新增任何有效的 XML 元素作為擴充功能。

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

適用於