XmlDictionaryWriter 類別
定義
public ref class XmlDictionaryWriter abstract : System::Xml::XmlWriter
public abstract class XmlDictionaryWriter : System.Xml.XmlWriter
type XmlDictionaryWriter = class
inherit XmlWriter
Public MustInherit Class XmlDictionaryWriter
Inherits XmlWriter
- 繼承
- 衍生
備註
您可以從這個類別衍生類別來執行除了序列化以外的其他功能。You can derive from this class to do other functions than serialization.
請注意,您可能會在正規化 CDATA 區段中的換行字元時遇到問題,而這是個已知問題。Note that there is a known issue with the normalization of linefeed characters inside of CDATA sections that you may encounter.
建構函式
XmlDictionaryWriter() |
初始化 XmlDictionaryWriter 類別的新執行個體。Initializes a new instance of the XmlDictionaryWriter class. |
屬性
CanCanonicalize |
這個屬性永遠會傳回 |
Settings |
取得 XmlWriterSettings 物件,用於建立這個 XmlWriter 執行個體。Gets the XmlWriterSettings object used to create this XmlWriter instance. (繼承來源 XmlWriter) |
WriteState |
在衍生類別中覆寫時,取得寫入器的狀態。When overridden in a derived class, gets the state of the writer. (繼承來源 XmlWriter) |
XmlLang |
當在衍生類別中覆寫時,取得目前 |
XmlSpace |
在衍生類別中覆寫時,取得表示目前 |
方法
Close() |
在衍生類別中覆寫時,關閉這個資料流和基礎資料流。When overridden in a derived class, closes this stream and the underlying stream. (繼承來源 XmlWriter) |
CreateBinaryWriter(Stream) |
建立寫入 WCF 二進位 XML 格式的 XmlDictionaryWriter 執行個體。Creates an instance of XmlDictionaryWriter that writes WCF binary XML format. |
CreateBinaryWriter(Stream, IXmlDictionary) |
建立寫入 WCF 二進位 XML 格式的 XmlDictionaryWriter 執行個體。Creates an instance of XmlDictionaryWriter that writes WCF binary XML format. |
CreateBinaryWriter(Stream, IXmlDictionary, XmlBinaryWriterSession) |
建立寫入 WCF 二進位 XML 格式的 XmlDictionaryWriter 執行個體。Creates an instance of XmlDictionaryWriter that writes WCF binary XML format. |
CreateBinaryWriter(Stream, IXmlDictionary, XmlBinaryWriterSession, Boolean) |
建立寫入 WCF 二進位 XML 格式的 XmlDictionaryWriter 執行個體。Creates an instance of XmlDictionaryWriter that writes WCF binary XML format. |
CreateDictionaryWriter(XmlWriter) |
從現有的 XmlDictionaryWriter 建立 XmlWriter 的執行個體。Creates an instance of XmlDictionaryWriter from an existing XmlWriter. |
CreateMtomWriter(Stream, Encoding, Int32, String) |
建立採用 MTOM 格式寫入 XML 的 XmlDictionaryWriter 執行個體。Creates an instance of XmlDictionaryWriter that writes XML in the MTOM format. |
CreateMtomWriter(Stream, Encoding, Int32, String, String, String, Boolean, Boolean) |
建立採用 MTOM 格式寫入 XML 的 XmlDictionaryWriter 執行個體。Creates an instance of XmlDictionaryWriter that writes XML in the MTOM format. |
CreateTextWriter(Stream) |
建立寫入文字 XML 的 XmlDictionaryWriter 執行個體。Creates an instance of XmlDictionaryWriter that writes text XML. |
CreateTextWriter(Stream, Encoding) |
建立寫入文字 XML 的 XmlDictionaryWriter 執行個體。Creates an instance of XmlDictionaryWriter that writes text XML. |
CreateTextWriter(Stream, Encoding, Boolean) |
建立寫入文字 XML 的 XmlDictionaryWriter 執行個體。Creates an instance of XmlDictionaryWriter that writes text XML. |
Dispose() |
釋放 XmlWriter 類別目前的執行個體所使用的全部資源。Releases all resources used by the current instance of the XmlWriter class. (繼承來源 XmlWriter) |
Dispose(Boolean) |
釋放 XmlWriter 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。Releases the unmanaged resources used by the XmlWriter and optionally releases the managed resources. (繼承來源 XmlWriter) |
DisposeAsync() |
非同步執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之由應用程式定義的工作。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously. (繼承來源 XmlWriter) |
DisposeAsyncCore() |
以非同步方式執行與釋放 (Free)、釋放 (Release) 或重設受控資源相關聯的應用程式定義工作。Performs application-defined tasks associated with freeing, releasing, or resetting managed resources asynchronously. (繼承來源 XmlWriter) |
EndCanonicalization() |
經衍生類別實作之後,它會停止對應之 StartCanonicalization(Stream, Boolean, String[]) 呼叫所啟動的標準化。When implemented by a derived class, it stops the canonicalization started by the matching StartCanonicalization(Stream, Boolean, String[]) call. |
Equals(Object) |
判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object. (繼承來源 Object) |
Flush() |
在衍生類別中覆寫時,將緩衝區的所有內容清空至基礎資料流,然後清空基礎資料流。When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. (繼承來源 XmlWriter) |
FlushAsync() |
以非同步的方式將緩衝區的所有內容清空至基礎資料流,然後清空基礎資料流。Asynchronously flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. (繼承來源 XmlWriter) |
GetHashCode() |
做為預設雜湊函式。Serves as the default hash function. (繼承來源 Object) |
GetType() |
取得目前執行個體的 Type。Gets the Type of the current instance. (繼承來源 Object) |
LookupPrefix(String) |
在衍生類別中覆寫時,傳回最接近命名空間 URI 在目前命名空間範圍中定義的前置詞。When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI. (繼承來源 XmlWriter) |
MemberwiseClone() |
建立目前 Object 的淺層複製。Creates a shallow copy of the current Object. (繼承來源 Object) |
StartCanonicalization(Stream, Boolean, String[]) |
由衍生類別實作時,它會啟動規範化。When implemented by a derived class, it starts the canonicalization. |
ToString() |
傳回代表目前物件的字串。Returns a string that represents the current object. (繼承來源 Object) |
WriteArray(String, String, String, Boolean[], Int32, Int32) | |
WriteArray(String, String, String, DateTime[], Int32, Int32) | |
WriteArray(String, String, String, Decimal[], Int32, Int32) | |
WriteArray(String, String, String, Double[], Int32, Int32) | |
WriteArray(String, String, String, Guid[], Int32, Int32) | |
WriteArray(String, String, String, Int16[], Int32, Int32) | |
WriteArray(String, String, String, Int32[], Int32, Int32) | |
WriteArray(String, String, String, Int64[], Int32, Int32) | |
WriteArray(String, String, String, Single[], Int32, Int32) | |
WriteArray(String, String, String, TimeSpan[], Int32, Int32) | |
WriteArray(String, XmlDictionaryString, XmlDictionaryString, Boolean[], Int32, Int32) | |
WriteArray(String, XmlDictionaryString, XmlDictionaryString, DateTime[], Int32, Int32) | |
WriteArray(String, XmlDictionaryString, XmlDictionaryString, Decimal[], Int32, Int32) | |
WriteArray(String, XmlDictionaryString, XmlDictionaryString, Double[], Int32, Int32) | |
WriteArray(String, XmlDictionaryString, XmlDictionaryString, Guid[], Int32, Int32) | |
WriteArray(String, XmlDictionaryString, XmlDictionaryString, Int16[], Int32, Int32) | |
WriteArray(String, XmlDictionaryString, XmlDictionaryString, Int32[], Int32, Int32) | |
WriteArray(String, XmlDictionaryString, XmlDictionaryString, Int64[], Int32, Int32) | |
WriteArray(String, XmlDictionaryString, XmlDictionaryString, Single[], Int32, Int32) | |
WriteArray(String, XmlDictionaryString, XmlDictionaryString, TimeSpan[], Int32, Int32) | |
WriteAttributes(XmlReader, Boolean) |
在衍生類別中覆寫時,寫出在 XmlReader 的目前位置找到的所有屬性。When overridden in a derived class, writes out all the attributes found at the current position in the XmlReader. (繼承來源 XmlWriter) |
WriteAttributesAsync(XmlReader, Boolean) |
非同步寫出在 XmlReader 中的目前位置找到的所有屬性。Asynchronously writes out all the attributes found at the current position in the XmlReader. (繼承來源 XmlWriter) |
WriteAttributeString(String, String) |
在衍生類別中覆寫時,寫出具有指定的區域名稱與數值的屬性。When overridden in a derived class, writes out the attribute with the specified local name and value. (繼承來源 XmlWriter) |
WriteAttributeString(String, String, String) |
在衍生類別中覆寫時,寫入具有指定區域名稱、命名空間 URI 和值的屬性。When overridden in a derived class, writes an attribute with the specified local name, namespace URI, and value. (繼承來源 XmlWriter) |
WriteAttributeString(String, String, String, String) |
在衍生類別中覆寫時,寫出具有指定的前置詞、區域名稱、命名空間 URI 及其值的屬性。When overridden in a derived class, writes out the attribute with the specified prefix, local name, namespace URI, and value. (繼承來源 XmlWriter) |
WriteAttributeString(String, XmlDictionaryString, XmlDictionaryString, String) |
寫入屬性限定名稱和值。Writes an attribute qualified name and value. |
WriteAttributeString(XmlDictionaryString, XmlDictionaryString, String) |
寫入屬性限定名稱和值。Writes an attribute qualified name and value. |
WriteAttributeStringAsync(String, String, String, String) |
以非同步的方式寫出具有指定之前置詞、區域名稱、命名空間 URI 和值的屬性。Asynchronously writes out the attribute with the specified prefix, local name, namespace URI, and value. (繼承來源 XmlWriter) |
WriteBase64(Byte[], Int32, Int32) |
在衍生類別中覆寫時,以 Base64 格式編碼指定的二進位位元組,並寫出產生的文字。When overridden in a derived class, encodes the specified binary bytes as Base64 and writes out the resulting text. (繼承來源 XmlWriter) |
WriteBase64Async(Byte[], Int32, Int32) |
以非同步的方式將指定的二進位位元組編碼為 base64 並寫出產生的文字。Asynchronously encodes the specified binary bytes as Base64 and writes out the resulting text. |
WriteBase64Async(Byte[], Int32, Int32) |
以非同步的方式將指定的二進位位元組編碼為 base64 並寫出產生的文字。Asynchronously encodes the specified binary bytes as Base64 and writes out the resulting text. (繼承來源 XmlWriter) |
WriteBinHex(Byte[], Int32, Int32) |
在衍生類別中覆寫時,以 |
WriteBinHexAsync(Byte[], Int32, Int32) |
以非同步的方式將指定的二進位位元組編碼為 |
WriteCData(String) |
在衍生類別中覆寫時,寫出包含指定文字的 <![CDATA[...]]> 區塊。When overridden in a derived class, writes out a <![CDATA[...]]> block containing the specified text. (繼承來源 XmlWriter) |
WriteCDataAsync(String) |
以非同步的方式寫出包含指定文字的 <![CDATA[...]]> 區塊。Asynchronously writes out a <![CDATA[...]]> block containing the specified text. (繼承來源 XmlWriter) |
WriteCharEntity(Char) |
在衍生類別中覆寫時,強制產生指定之 Unicode 字元值的字元實體。When overridden in a derived class, forces the generation of a character entity for the specified Unicode character value. (繼承來源 XmlWriter) |
WriteCharEntityAsync(Char) |
以非同步的方式強制產生指定的 Unicode 字元值的字元實體。Asynchronously forces the generation of a character entity for the specified Unicode character value. (繼承來源 XmlWriter) |
WriteChars(Char[], Int32, Int32) |
在衍生類別中覆寫時,一次將文字寫入一個緩衝區。When overridden in a derived class, writes text one buffer at a time. (繼承來源 XmlWriter) |
WriteCharsAsync(Char[], Int32, Int32) |
以非同步的方式一次將文字寫入一個緩衝區。Asynchronously writes text one buffer at a time. (繼承來源 XmlWriter) |
WriteComment(String) |
在衍生類別中覆寫時,寫出包含指定文字的註解 <!--...-->。When overridden in a derived class, writes out a comment <!--...--> containing the specified text. (繼承來源 XmlWriter) |
WriteCommentAsync(String) |
以非同步的方式寫出包含指定文字的註解 <!--...-->。Asynchronously writes out a comment <!--...--> containing the specified text. (繼承來源 XmlWriter) |
WriteDocType(String, String, String, String) |
在衍生類別中覆寫時,寫入具有指定名稱與選擇性屬性的 DOCTYPE 宣告。When overridden in a derived class, writes the DOCTYPE declaration with the specified name and optional attributes. (繼承來源 XmlWriter) |
WriteDocTypeAsync(String, String, String, String) |
以非同步的方式寫入具有指定名稱與選擇性屬性的 DOCTYPE 宣告。Asynchronously writes the DOCTYPE declaration with the specified name and optional attributes. (繼承來源 XmlWriter) |
WriteElementString(String, String) |
寫入具有指定之區域名稱和值的項目。Writes an element with the specified local name and value. (繼承來源 XmlWriter) |
WriteElementString(String, String, String) |
寫入具有指定之區域名稱、命名空間 URI 和值的項目。Writes an element with the specified local name, namespace URI, and value. (繼承來源 XmlWriter) |
WriteElementString(String, String, String, String) |
寫入具有指定的前置詞、區域名稱、命名空間 URI 和值的項目。Writes an element with the specified prefix, local name, namespace URI, and value. (繼承來源 XmlWriter) |
WriteElementString(String, XmlDictionaryString, XmlDictionaryString, String) |
寫入具有文字內容的項目。Writes an element with a text content. |
WriteElementString(XmlDictionaryString, XmlDictionaryString, String) |
寫入具有文字內容的項目。Writes an element with a text content. |
WriteElementStringAsync(String, String, String, String) |
以非同步的方式寫入具有指定之前置詞、區域名稱、命名空間 URI 和值的項目。Asynchronously writes an element with the specified prefix, local name, namespace URI, and value. (繼承來源 XmlWriter) |
WriteEndAttribute() |
在衍生類別中覆寫時,會關閉先前的 WriteStartAttribute(String, String) 呼叫。When overridden in a derived class, closes the previous WriteStartAttribute(String, String) call. (繼承來源 XmlWriter) |
WriteEndAttributeAsync() |
非同步關閉上一個 WriteStartAttribute(String, String) 呼叫。Asynchronously closes the previous WriteStartAttribute(String, String) call. (繼承來源 XmlWriter) |
WriteEndDocument() |
在衍生類別中覆寫時,關閉任何開啟的項目或屬性,並將寫入器回復開始狀態。When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state. (繼承來源 XmlWriter) |
WriteEndDocumentAsync() |
以非同步的方式關閉任何開啟的項目或屬性,並將寫入器回復開始狀態。Asynchronously closes any open elements or attributes and puts the writer back in the Start state. (繼承來源 XmlWriter) |
WriteEndElement() |
在衍生類別中覆寫時,關閉一個項目並取出對應的命名空間範圍。When overridden in a derived class, closes one element and pops the corresponding namespace scope. (繼承來源 XmlWriter) |
WriteEndElementAsync() |
以非同步的方式關閉一個項目並取出對應的命名空間範圍。Asynchronously closes one element and pops the corresponding namespace scope. (繼承來源 XmlWriter) |
WriteEntityRef(String) |
在衍生類別中覆寫時,寫出如 |
WriteEntityRefAsync(String) |
以非同步的方式將實體參考寫出為 |
WriteFullEndElement() |
在衍生類別中覆寫時,關閉一個項目並取出對應的命名空間範圍。When overridden in a derived class, closes one element and pops the corresponding namespace scope. (繼承來源 XmlWriter) |
WriteFullEndElementAsync() |
以非同步的方式關閉一個項目並取出對應的命名空間範圍。Asynchronously closes one element and pops the corresponding namespace scope. (繼承來源 XmlWriter) |
WriteName(String) |
當覆寫衍生類別時,請寫出指定的名稱,以確保它是符合 W3C XML 1.0 建議 (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name) (英文) 的有效名稱。When overridden in a derived class, writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). (繼承來源 XmlWriter) |
WriteNameAsync(String) |
非同步地寫出指定的名稱,以確保它是符合 W3C XML 1.0 建議 (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name) (英文) 的有效名稱。Asynchronously writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). (繼承來源 XmlWriter) |
WriteNmToken(String) |
當覆寫衍生類別時,請寫出指定的名稱,以確保它是符合 W3C XML 1.0 建議 (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name) (英文) 的有效 NmToken。When overridden in a derived class, writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). (繼承來源 XmlWriter) |
WriteNmTokenAsync(String) |
非同步地寫出指定的名稱,以確保它是符合 W3C XML 1.0 建議 (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name) (英文) 的有效 NmToken。Asynchronously writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). (繼承來源 XmlWriter) |
WriteNode(XmlDictionaryReader, Boolean) |
從 XmlDictionaryReader 寫入目前的 XML 節點。Writes the current XML node from an XmlDictionaryReader. |
WriteNode(XmlReader, Boolean) |
從 XmlReader 寫入目前的 XML 節點。Writes the current XML node from an XmlReader. |
WriteNode(XPathNavigator, Boolean) |
將 XPathNavigator 物件中的所有項目複製到寫入器。Copies everything from the XPathNavigator object to the writer. XPathNavigator 的位置保持不變。The position of the XPathNavigator remains unchanged. (繼承來源 XmlWriter) |
WriteNodeAsync(XmlReader, Boolean) |
以非同步的方式從讀取器複製所有內容至寫入器,並將讀取器移至下一個同層級 (Sibling) 的開頭。Asynchronously copies everything from the reader to the writer and moves the reader to the start of the next sibling. (繼承來源 XmlWriter) |
WriteNodeAsync(XPathNavigator, Boolean) |
以非同步方式將所有項目從 XPathNavigator 物件複製到寫入器。Asynchronously copies everything from the XPathNavigator object to the writer. XPathNavigator 的位置保持不變。The position of the XPathNavigator remains unchanged. (繼承來源 XmlWriter) |
WriteProcessingInstruction(String, String) |
在衍生類別中覆寫時,寫出名稱與文字之間有空白的處理指示,如下所示:<?name text?>。When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows: <?name text?>. (繼承來源 XmlWriter) |
WriteProcessingInstructionAsync(String, String) |
以非同步方式寫出名稱與文字之間有空白的處理指示,如下所示:<?name text?>。Asynchronously writes out a processing instruction with a space between the name and text as follows: <?name text?>. (繼承來源 XmlWriter) |
WriteQualifiedName(String, String) |
在衍生類別中覆寫時,寫出命名空間限定名稱。When overridden in a derived class, writes out the namespace-qualified name. 這個方法會查詢在指定之命名空間範圍中的前置詞。This method looks up the prefix that is in scope for the given namespace. (繼承來源 XmlWriter) |
WriteQualifiedName(XmlDictionaryString, XmlDictionaryString) |
寫出命名空間限定名稱。Writes out the namespace-qualified name. 這個方法會查詢在指定之命名空間範圍中的前置詞。This method looks up the prefix that is in scope for the given namespace. |
WriteQualifiedNameAsync(String, String) |
以非同步的方式寫出命名空間限定名稱。Asynchronously writes out the namespace-qualified name. 這個方法會查詢在指定之命名空間範圍中的前置詞。This method looks up the prefix that is in scope for the given namespace. (繼承來源 XmlWriter) |
WriteRaw(Char[], Int32, Int32) |
在衍生類別中覆寫時,從字元緩衝區手動寫入未經處理的標記。When overridden in a derived class, writes raw markup manually from a character buffer. (繼承來源 XmlWriter) |
WriteRaw(String) |
在衍生類別中覆寫時,從字串手動寫入未經處理的標記 (Raw Markup)。When overridden in a derived class, writes raw markup manually from a string. (繼承來源 XmlWriter) |
WriteRawAsync(Char[], Int32, Int32) |
以非同步的方式從字元緩衝區手動寫入未經處理的標記。Asynchronously writes raw markup manually from a character buffer. (繼承來源 XmlWriter) |
WriteRawAsync(String) |
以非同步的方式從字串手動寫入未經處理的標記 (Raw Markup)。Asynchronously writes raw markup manually from a string. (繼承來源 XmlWriter) |
WriteStartAttribute(String) |
寫入具有指定之區域名稱的屬性開頭。Writes the start of an attribute with the specified local name. (繼承來源 XmlWriter) |
WriteStartAttribute(String, String) |
寫入具有指定之區域名稱和命名空間 URI 之屬性的開頭。Writes the start of an attribute with the specified local name and namespace URI. (繼承來源 XmlWriter) |
WriteStartAttribute(String, String, String) |
在衍生類別中覆寫時,寫入具有指定的前置詞、區域名稱和命名空間 URI 之屬性的開頭。When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI. (繼承來源 XmlWriter) |
WriteStartAttribute(String, XmlDictionaryString, XmlDictionaryString) |
寫入具有指定之前置詞、本機名稱和命名空間 URI 之屬性的開頭。Writes the start of an attribute with the specified prefix, local name, and namespace URI. |
WriteStartAttribute(XmlDictionaryString, XmlDictionaryString) |
寫入具有指定之本機名稱和命名空間 URI 之屬性的開頭。Writes the start of an attribute with the specified local name, and namespace URI. |
WriteStartAttributeAsync(String, String, String) |
以非同步的方式寫入具有指定之前置詞、本機名稱和命名空間 URI 之屬性的開頭。Asynchronously writes the start of an attribute with the specified prefix, local name, and namespace URI. (繼承來源 XmlWriter) |
WriteStartDocument() |
在衍生類別中覆寫時,使用「1.0」版寫入 XML 宣告。When overridden in a derived class, writes the XML declaration with the version "1.0". (繼承來源 XmlWriter) |
WriteStartDocument(Boolean) |
在衍生類別中覆寫時,使用「1.0」版寫入 XML 宣告與獨立屬性。When overridden in a derived class, writes the XML declaration with the version "1.0" and the standalone attribute. (繼承來源 XmlWriter) |
WriteStartDocumentAsync() |
以非同步的方式使用「1.0」版寫入 XML 宣告。Asynchronously writes the XML declaration with the version "1.0". (繼承來源 XmlWriter) |
WriteStartDocumentAsync(Boolean) |
以非同步的方式使用「1.0」版寫入 XML 宣告與獨立屬性。Asynchronously writes the XML declaration with the version "1.0" and the standalone attribute. (繼承來源 XmlWriter) |
WriteStartElement(String) |
在衍生類別中覆寫時,寫出具有指定之區域名稱的開頭標記。When overridden in a derived class, writes out a start tag with the specified local name. (繼承來源 XmlWriter) |
WriteStartElement(String, String) |
在衍生類別中覆寫時,寫入指定的開頭標記並與指定的命名空間產生關聯。When overridden in a derived class, writes the specified start tag and associates it with the given namespace. (繼承來源 XmlWriter) |
WriteStartElement(String, String, String) |
在衍生類別中覆寫時,寫入指定的開頭標記,並與指定的命名空間與前置詞產生關聯。When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix. (繼承來源 XmlWriter) |
WriteStartElement(String, XmlDictionaryString, XmlDictionaryString) |
寫入指定的開頭標記,並使它與指定的命名空間及前置詞產生關聯。Writes the specified start tag and associates it with the given namespace and prefix. |
WriteStartElement(XmlDictionaryString, XmlDictionaryString) |
寫入指定的開頭標記,並使它與指定的命名空間產生關聯。Writes the specified start tag and associates it with the given namespace. |
WriteStartElementAsync(String, String, String) |
以非同步的方式寫入指定的開頭標記,並將它與指定的命名空間與前置詞產生關聯。Asynchronously writes the specified start tag and associates it with the given namespace and prefix. (繼承來源 XmlWriter) |
WriteString(String) |
在衍生類別中覆寫時,寫入指定的文字內容。When overridden in a derived class, writes the given text content. (繼承來源 XmlWriter) |
WriteString(XmlDictionaryString) |
寫入指定的文字內容。Writes the given text content. |
WriteStringAsync(String) |
以非同步的方式寫入指定的文字內容。Asynchronously writes the given text content. (繼承來源 XmlWriter) |
WriteSurrogateCharEntity(Char, Char) |
在衍生類別中覆寫時,產生和寫入 Surrogate 字元字組的 Surrogate 字元實體。When overridden in a derived class, generates and writes the surrogate character entity for the surrogate character pair. (繼承來源 XmlWriter) |
WriteSurrogateCharEntityAsync(Char, Char) |
以非同步的方式產生和寫入 Surrogate 字元字組的 Surrogate 字元實體。Asynchronously generates and writes the surrogate character entity for the surrogate character pair. (繼承來源 XmlWriter) |
WriteTextNode(XmlDictionaryReader, Boolean) |
寫入 XmlDictionaryReader 目前所在的文字節點。Writes the text node that an XmlDictionaryReader is currently positioned on. |
WriteValue(Boolean) |
寫入 Boolean 值。Writes a Boolean value. (繼承來源 XmlWriter) |
WriteValue(DateTime) |
寫入 DateTime 值。Writes a DateTime value. (繼承來源 XmlWriter) |
WriteValue(DateTimeOffset) |
寫入 DateTimeOffset 值。Writes a DateTimeOffset value. (繼承來源 XmlWriter) |
WriteValue(Decimal) |
寫入 Decimal 值。Writes a Decimal value. (繼承來源 XmlWriter) |
WriteValue(Double) |
寫入 Double 值。Writes a Double value. (繼承來源 XmlWriter) |
WriteValue(Guid) | |
WriteValue(Int32) |
寫入 Int32 值。Writes a Int32 value. (繼承來源 XmlWriter) |
WriteValue(Int64) |
寫入 Int64 值。Writes a Int64 value. (繼承來源 XmlWriter) |
WriteValue(IStreamProvider) |
從 IStreamProvider 寫入值。Writes a value from an IStreamProvider. |
WriteValue(Object) |
寫入物件值。Writes the object value. (繼承來源 XmlWriter) |
WriteValue(Single) |
寫入單精確度浮點數。Writes a single-precision floating-point number. (繼承來源 XmlWriter) |
WriteValue(String) |
寫入 String 值。Writes a String value. (繼承來源 XmlWriter) |
WriteValue(TimeSpan) | |
WriteValue(UniqueId) |
寫入唯一識別碼值。Writes a Unique Id value. |
WriteValue(XmlDictionaryString) |
寫入 XmlDictionaryString 值。Writes a XmlDictionaryString value. |
WriteValueAsync(IStreamProvider) |
非同步寫入 IStreamProvider 中的值。Asynchronously writes a value from an IStreamProvider. |
WriteWhitespace(String) |
在衍生類別中覆寫時,寫出指定的空白字元。When overridden in a derived class, writes out the given white space. (繼承來源 XmlWriter) |
WriteWhitespaceAsync(String) |
以非同步的方式寫出指定的空白字元。Asynchronously writes out the given white space. (繼承來源 XmlWriter) |
WriteXmlAttribute(String, String) |
在目前節點中寫入標準 XML 屬性。Writes a standard XML attribute in the current node. |
WriteXmlAttribute(XmlDictionaryString, XmlDictionaryString) |
在目前節點中寫入 XML 屬性。Writes an XML attribute in the current node. |
WriteXmlnsAttribute(String, String) |
寫入命名空間宣告屬性。Writes a namespace declaration attribute. |
WriteXmlnsAttribute(String, XmlDictionaryString) |
寫入命名空間宣告屬性。Writes a namespace declaration attribute. |
明確介面實作
IDisposable.Dispose() |
如需這個成員的說明,請參閱 Dispose()。For a description of this member, see Dispose(). (繼承來源 XmlWriter) |
擴充方法
ConfigureAwait(IAsyncDisposable, Boolean) |
設定如何執行從非同步可處置項目傳回的工作 await。Configures how awaits on the tasks returned from an async disposable are performed. |