XmlDictionaryWriter.WriteStartAttribute Method
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.
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. |
- 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
.NET 9 e altre versioni
Prodotto | Versioni |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
- 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
.NET 9 e altre versioni
Prodotto | Versioni |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: