Share via


QualifiedNameElement.LoadXmlAttributes Method

When overridden in a derived class, adds the attributes of the specified XML element to the object's collection of attributes.

Namespace: Microsoft.Web.Services3.Xml
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Public Class qualifiedNameElementImplementation
    Inherits QualifiedNameElement
        Protected Overrides Sub LoadXmlAttributes(element As XmlElement)
            MyBase.LoadXmlAttributes(element)
        End Sub
End Class

Syntax

'Declaration
Protected Overridable Sub LoadXmlAttributes( _
    ByVal element As XmlElement _
)
protected virtual void LoadXmlAttributes(
    XmlElement element
);
protected:
virtual void LoadXmlAttributes(
    XmlElement^ element
);
protected virtual void LoadXmlAttributes(
    XmlElement element
);
protected function LoadXmlAttributes(
     element : XmlElement
) : Void;

Parameters

  • element
    The XmlElement to load into the attributes collection.

Exceptions

Exception type Condition
ArgumentNullException

element is null.

FormatException

A prefix of an attribute of element is not "xmlns".

Remarks

Notes to Inheritors: The LoadXmlAttributes method checks the prefixes of the attributes in element, but does not add the attributes to a collection. You must override this method to provide the desired behavior.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

QualifiedNameElement Class
QualifiedNameElement Members
Microsoft.Web.Services3.Xml Namespace