ServiceDocument.Load Method

Definition

Overloads

Load(XmlReader)

Loads a service document from the specified XmlReader into a ServiceDocument instance.

Load<TServiceDocument>(XmlReader)

Loads a service document from the specified XmlReader into a ServiceDocument derived instance.

Load(XmlReader)

Source:
ServiceDocument.cs
Source:
ServiceDocument.cs
Source:
ServiceDocument.cs
Source:
ServiceDocument.cs

Loads a service document from the specified XmlReader into a ServiceDocument instance.

public:
 static System::ServiceModel::Syndication::ServiceDocument ^ Load(System::Xml::XmlReader ^ reader);
public static System.ServiceModel.Syndication.ServiceDocument Load (System.Xml.XmlReader reader);
static member Load : System.Xml.XmlReader -> System.ServiceModel.Syndication.ServiceDocument
Public Shared Function Load (reader As XmlReader) As ServiceDocument

Parameters

reader
XmlReader

The XmlReader to read the service document from.

Returns

A ServiceDocument instance.

Applies to

Load<TServiceDocument>(XmlReader)

Source:
ServiceDocument.cs
Source:
ServiceDocument.cs
Source:
ServiceDocument.cs
Source:
ServiceDocument.cs

Loads a service document from the specified XmlReader into a ServiceDocument derived instance.

public:
generic <typename TServiceDocument>
 where TServiceDocument : System::ServiceModel::Syndication::ServiceDocumentgcnew() static TServiceDocument Load(System::Xml::XmlReader ^ reader);
public static TServiceDocument Load<TServiceDocument> (System.Xml.XmlReader reader) where TServiceDocument : System.ServiceModel.Syndication.ServiceDocument, new();
static member Load : System.Xml.XmlReader -> 'ServiceDocument (requires 'ServiceDocument :> System.ServiceModel.Syndication.ServiceDocument and 'ServiceDocument : (new : unit -> 'ServiceDocument))
Public Shared Function Load(Of TServiceDocument As {ServiceDocumentNew}) (reader As XmlReader) As TServiceDocument

Type Parameters

TServiceDocument

The type of the service document.

Parameters

reader
XmlReader

The XmlReader to read the service document from.

Returns

TServiceDocument

A ServiceDocument instance.

Applies to