Share via


OpenElement.GetXmlAttributes Method

Appends the attributes of the OpenElement to the specified XML element.

Namespace: Microsoft.Web.Services2.Xml
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Public Class openElementImplementation
    Inherits OpenElement
        Protected Overrides Sub GetXmlAttributes(document As XmlDocument, _
            element As XmlElement)
            MyBase.GetXmlAttributes(document, element)
        End Sub
End Class

Syntax

'Declaration
Protected Overrides Sub GetXmlAttributes( _
    ByVal document As XmlDocument, _
    ByVal element As XmlElement _
)
protected override void GetXmlAttributes(
    XmlDocument document, 
    XmlElement element
);
protected: virtual Void GetXmlAttributes(
    XmlDocument^ document, 
    XmlElement^ element
);
protected void GetXmlAttributes(
    XmlDocument document, 
    XmlElement element
);
protected override function GetXmlAttributes(
     document : XmlDocument, 
     element : XmlElement
);

Parameters

  • document
    An System.Xml.XmlDocument that contains the DOM for the OpenElement.
  • element
    The System.Xml.XmlElement to append the properties of the OpenElement to.

Exceptions

Exception type Condition
System.ArgumentNullException

document or element is null.

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 Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

OpenElement Class
Microsoft.Web.Services2.Xml Namespace

Other Resources

OpenElement Members