XmlAttribute(String, String, String, XmlDocument) Constructor
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.
Initializes a new instance of the XmlAttribute class.
protected public:
XmlAttribute(System::String ^ prefix, System::String ^ localName, System::String ^ namespaceURI, System::Xml::XmlDocument ^ doc);
protected internal XmlAttribute (string prefix, string localName, string namespaceURI, System.Xml.XmlDocument doc);
protected internal XmlAttribute (string? prefix, string localName, string? namespaceURI, System.Xml.XmlDocument doc);
new System.Xml.XmlAttribute : string * string * string * System.Xml.XmlDocument -> System.Xml.XmlAttribute
Protected Friend Sub New (prefix As String, localName As String, namespaceURI As String, doc As XmlDocument)
Parameters
- prefix
- String
The namespace prefix.
- localName
- String
The local name of the attribute.
- namespaceURI
- String
The namespace uniform resource identifier (URI).
- doc
- XmlDocument
The parent XML document.
Remarks
Do not instantiate an XmlAttribute directly; instead, use methods such as CreateAttribute.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.