ServiceDocument.Load 方法

定义

重载

Load(XmlReader)

从指定的 XmlReader 将服务文档加载到 ServiceDocument 实例。

Load<TServiceDocument>(XmlReader)

从指定的 XmlReader 将服务文档加载到 ServiceDocument 派生实例。

Load(XmlReader)

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

从指定的 XmlReader 将服务文档加载到 ServiceDocument 实例。

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

参数

reader
XmlReader

从中读取服务文档的 XmlReader

返回

一个 ServiceDocument 实例。

适用于

Load<TServiceDocument>(XmlReader)

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

从指定的 XmlReader 将服务文档加载到 ServiceDocument 派生实例。

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

类型参数

TServiceDocument

服务文档的类型。

参数

reader
XmlReader

从中读取服务文档的 XmlReader

返回

TServiceDocument

一个 ServiceDocument 实例。

适用于