共用方式為


XmlDictionaryWriter.WriteAttributeString 方法

定義

寫入屬性限定名稱和值。

多載

WriteAttributeString(XmlDictionaryString, XmlDictionaryString, String)

寫入屬性限定名稱和值。

WriteAttributeString(String, XmlDictionaryString, XmlDictionaryString, String)

寫入屬性限定名稱和值。

WriteAttributeString(XmlDictionaryString, XmlDictionaryString, String)

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

寫入屬性限定名稱和值。

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

參數

localName
XmlDictionaryString

屬性的本機名稱。

namespaceUri
XmlDictionaryString

屬性的命名空間 URI。

value
String

屬性。

適用於

WriteAttributeString(String, XmlDictionaryString, XmlDictionaryString, String)

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

寫入屬性限定名稱和值。

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

參數

prefix
String

屬性的前置詞。

localName
XmlDictionaryString

屬性的本機名稱。

namespaceUri
XmlDictionaryString

屬性的命名空間 URI。

value
String

屬性。

適用於