ServiceDocument.ElementExtensions 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得服務文件的元素擴充功能。
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" />