XmlWriterSettings.OutputMethod XmlWriterSettings.OutputMethod XmlWriterSettings.OutputMethod XmlWriterSettings.OutputMethod Property

定義

取得用於序列化 XmlWriter 輸出的方法。Gets the method used to serialize the XmlWriter output.

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 值。One of the XmlOutputMethod values. 預設為 XmlThe default is Xml.

備註

此屬性會指定用來序列化輸出的方法。This property specifies the method used to serialize the output. 輸出可以使用 HTML 規則、 XML 1.0 規則等等進行序列化。The output can be serialized using the HTML rules, the XML 1.0 rules, and so on. 此設定會由 XSLT 處理器設定,且 Visual Studio 在內部使用。This setting is set by the XSLT processor and is used internally by Visual Studio.

適用於