共用方式為


XmlDictionaryWriter.WriteElementString 方法

定義

寫入具有文字內容的項目。

多載

WriteElementString(XmlDictionaryString, XmlDictionaryString, String)

寫入具有文字內容的項目。

WriteElementString(String, XmlDictionaryString, XmlDictionaryString, String)

寫入具有文字內容的項目。

WriteElementString(XmlDictionaryString, XmlDictionaryString, String)

來源:
XmlDictionaryWriter.cs
來源:
XmlDictionaryWriter.cs
來源:
XmlDictionaryWriter.cs

寫入具有文字內容的項目。

public:
 void WriteElementString(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, System::String ^ value);
public void WriteElementString (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, string value);
public void WriteElementString (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, string? value);
override this.WriteElementString : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * string -> unit
Public Sub WriteElementString (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, value As String)

參數

localName
XmlDictionaryString

項目的本機名稱。

namespaceUri
XmlDictionaryString

項目的命名空間 URI。

value
String

項目內容。

適用於

WriteElementString(String, XmlDictionaryString, XmlDictionaryString, String)

來源:
XmlDictionaryWriter.cs
來源:
XmlDictionaryWriter.cs
來源:
XmlDictionaryWriter.cs

寫入具有文字內容的項目。

public:
 void WriteElementString(System::String ^ prefix, System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri, System::String ^ value);
public void WriteElementString (string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, string value);
public void WriteElementString (string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri, string? value);
override this.WriteElementString : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString * string -> unit
Public Sub WriteElementString (prefix As String, localName As XmlDictionaryString, namespaceUri As XmlDictionaryString, value As String)

參數

prefix
String

項目的前置詞。

localName
XmlDictionaryString

項目的本機名稱。

namespaceUri
XmlDictionaryString

項目的命名空間 URI。

value
String

項目內容。

適用於