OpenAttributeDateTimeElement.LoadXmlElements Method

Loads the attributes and date/time value of the specified XML element into the AnyAttributes and Value properties.

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

Usage

'Usage
Public Class openAttributeDateTimeElementImplementation
    Inherits OpenAttributeDateTimeElement
        Protected Overrides Sub LoadXmlElements(element As XmlElement)
            MyBase.LoadXmlElements(element)
        End Sub
End Class

Syntax

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

Parameters

  • element
    An System.Xml.XmlElement to load.

Exceptions

Exception type Condition
System.FormatException

element has more than one child node.

-or-

element is not compatible with the type System.Xml.XmlText.

-or-

element value is not expressed in UTC format.

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

OpenAttributeDateTimeElement Class
Microsoft.Web.Services2.Xml Namespace

Other Resources

OpenAttributeDateTimeElement Members