Share via


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

其中一個 XmlOutputMethod 值。 預設為 Xml

備註

這個屬性會指定用來序列化輸出的方法。 輸出可以使用 HTML 規則、XML 1.0 規則等序列化。 此設定是由 XSLT 處理器所設定,並由Visual Studio在內部使用。

適用於