Bewerken

Delen via


MetadataSet.ReadFrom(XmlReader) Method

Definition

Returns a MetadataSet from the specified XmlReader object.

public:
 static System::ServiceModel::Description::MetadataSet ^ ReadFrom(System::Xml::XmlReader ^ reader);
public static System.ServiceModel.Description.MetadataSet ReadFrom (System.Xml.XmlReader reader);
static member ReadFrom : System.Xml.XmlReader -> System.ServiceModel.Description.MetadataSet
Public Shared Function ReadFrom (reader As XmlReader) As MetadataSet

Parameters

reader
XmlReader

The reader to read in XML.

Returns

A MetadataSet that contains all the metadata present in the XML stream.

Exceptions

The reader is null.

Remarks

Creates a MetadataSet from an XmlReader object.

Applies to