Share via


Timestamp.LoadXml Method

Loads an XML element into properties of the current Timestamp.

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

Usage

'Usage
Dim element As XmlElement
Dim timestamp1 As Timestamp
timestamp1.LoadXml(element)

Syntax

'Declaration
Public Sub LoadXml( _
    ByVal element As XmlElement _
)
public void LoadXml(
    XmlElement element
);
public:
virtual void arbitrary-name(
    XmlElement^ element
);
public void LoadXml(
    XmlElement element
);
public final function LoadXml(
     element : XmlElement
) : Void;

Parameters

  • element
    An XmlElement to load.

Exceptions

Exception type Condition
ArgumentException

The LocalName or NamespaceURI property of element is invalid.

TimestampFormatException

element contains a <Created> element and the Created property is not null.

-or-

element contains an <Expires> element and the Expires property is not 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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

Timestamp Class
Timestamp Members
Microsoft.Web.Services3.Security.Utility Namespace