ServiceDocument.Load Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Returns
A ServiceDocument instance.
Applies to
Load<TServiceDocument>(XmlReader)
- 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
Returns
A ServiceDocument instance.