XmlAttribute Constructor (String^, String^, String^, XmlDocument^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the XmlAttribute class.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public protected:
XmlAttribute(
	String^ prefix,
	String^ localName,
	String^ namespaceURI,
	XmlDocument^ doc
)

Parameters

prefix
Type: System::String^

The namespace prefix.

localName
Type: System::String^

The local name of the attribute.

namespaceURI
Type: System::String^

The namespace uniform resource identifier (URI).

doc
Type: System.Xml::XmlDocument^

The parent XML document.

Do not instantiate an XmlAttribute directly; instead, use methods such as CreateAttribute.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show: