Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConfigXmlDocument::CreateAttribute Method (String^, String^, String^)

 

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

Creates a configuration element attribute.

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

public:
virtual XmlAttribute^ CreateAttribute(
	String^ prefix,
	String^ localName,
	String^ namespaceUri
) override

Parameters

prefix
Type: System::String^

The prefix definition.

localName
Type: System::String^

The name that is used locally.

namespaceUri
Type: System::String^

The URL that is assigned to the namespace.

Return Value

Type: System.Xml::XmlAttribute^

The XmlAttribute attribute.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft