XmlDictionaryWriter.WriteAttributeString 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
写入属性的限定名和值。
重载
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
属性。