Partager via


ReferralCollection.LoadXml Method

Loads an XmlElement into the current ReferralCollection object.

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

Usage

'Usage
Dim element As XmlElement
Dim referralCollection1 As ReferralCollection
referralCollection1.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
    The XmlElement to be loaded.

Exceptions

Exception type Condition
ArgumentNullException

element is null or is not defined in a referral statement.

ArgumentException

The LocalName and NamespaceURI properties of element are invalid.

Remarks

Each child node in element will be added as a Referral object to the ReferralCollection.

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

ReferralCollection Class
ReferralCollection Members
Microsoft.Web.Services3.Referral Namespace