Export (0) Print
Expand All

XmlDocument.CreateDefaultAttribute Method

Creates a default attribute with the specified prefix, local name and namespace URI.

[Visual Basic]
Protected Friend Overridable Function CreateDefaultAttribute( _
   ByVal prefix As String, _
   ByVal localName As String, _
   ByVal namespaceURI As String _
) As XmlAttribute
[C#]
protected internal virtual XmlAttribute CreateDefaultAttribute(
 string prefix,
 string localName,
 string namespaceURI
);
[C++]
protected public: virtual XmlAttribute* CreateDefaultAttribute(
 String* prefix,
 String* localName,
 String* namespaceURI
);
[JScript]
protected internal function CreateDefaultAttribute(
   prefix : String,
 localName : String,
 namespaceURI : String
) : XmlAttribute;

Parameters

prefix
The prefix of the attribute (if any).
localName
The local name of the attribute.
namespaceURI
The namespace URI of the attribute (if any).

Return Value

The new XmlAttribute.

Remarks

This method is a Microsoft extension to the Document Object Model (DOM).

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

XmlDocument Class | XmlDocument Members | System.Xml Namespace

Show:
© 2014 Microsoft