XmlDictionaryWriter.WriteAttributeString 方法

定义

写入属性的限定名和值。

重载

WriteAttributeString(XmlDictionaryString, XmlDictionaryString, String)

写入属性的限定名和值。

WriteAttributeString(String, XmlDictionaryString, XmlDictionaryString, String)

写入属性的限定名和值。

WriteAttributeString(XmlDictionaryString, XmlDictionaryString, String)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
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)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
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

属性。

适用于