XmlWriterSettings.OutputMethod 屬性

定義

取得用於序列化 XmlWriter 輸出的方法。

public:
 property System::Xml::XmlOutputMethod OutputMethod { System::Xml::XmlOutputMethod get(); };
public System.Xml.XmlOutputMethod OutputMethod { get; }
member this.OutputMethod : System.Xml.XmlOutputMethod
Public ReadOnly Property OutputMethod As XmlOutputMethod

屬性值

這是其中一項 XmlOutputMethod 價值。 預設值為 Xml

備註

此特性指定了用於序列化輸出的方法。 輸出可依照 HTML 規則、XML 1.0 規則等序列化。 此設定由 XSLT 處理器設定,並由 Visual Studio 內部使用。

適用於