Επεξεργασία

Κοινή χρήση μέσω


XmlDictionaryWriter.WriteStartAttribute Method

Definition

When overridden in a derived class, writes the start of an attribute.

Overloads

WriteStartAttribute(XmlDictionaryString, XmlDictionaryString)

Writes the start of an attribute with the specified local name, and namespace URI.

WriteStartAttribute(String, XmlDictionaryString, XmlDictionaryString)

Writes the start of an attribute with the specified prefix, local name, and namespace URI.

WriteStartAttribute(XmlDictionaryString, XmlDictionaryString)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes the start of an attribute with the specified local name, and namespace URI.

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

Parameters

localName
XmlDictionaryString

The local name of the attribute.

namespaceUri
XmlDictionaryString

The namespace URI of the attribute.

Applies to

WriteStartAttribute(String, XmlDictionaryString, XmlDictionaryString)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes the start of an attribute with the specified prefix, local name, and namespace URI.

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

Parameters

prefix
String

The namespace prefix.

localName
XmlDictionaryString

The local name of the attribute.

namespaceUri
XmlDictionaryString

The namespace URI of the attribute.

Applies to