XmlDictionaryWriter.WriteStartAttribute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.