XmlTokenStream.AddAttribute(String, String, String, String) 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.
Adds a XML attribute node to the collection
public void AddAttribute (string prefix, string localName, string namespace, string value);
member this.AddAttribute : string * string * string * string -> unit
Public Sub AddAttribute (prefix As String, localName As String, namespace As String, value As String)
Parameters
- prefix
- String
the XML prefix.
- localName
- String
the local name of the attribute.
- namespace
- String
the namespace of the attribute.
- value
- String
the value of the attribute.
Exceptions
if localName
is null or empty.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin