Rss20ItemFormatter.SerializeExtensionsAsAtom 屬性

定義

取得或設定值,指定是否要在 Atom 1.0 命名空間中序列化延伸模組。

public:
 property bool SerializeExtensionsAsAtom { bool get(); void set(bool value); };
public bool SerializeExtensionsAsAtom { get; set; }
member this.SerializeExtensionsAsAtom : bool with get, set
Public Property SerializeExtensionsAsAtom As Boolean

屬性值

指定是否在 Atom 1.0 命名空間中序列化延伸的值。

備註

此屬性的預設值為 true。 當此屬性為 true 時,SyndicationFeed 類別中無法以 RSS 2.0 格式表示的任何屬性,將在 Atom 1.0 命名空間內序列化,否則就不會序列化這些屬性。

適用於