MetadataSet Class
Assembly: System.ServiceModel (in system.servicemodel.dll)
The MetadataSet class contains a collection of MetadataSection objects, each of which contains one dialect of metadata in XML form. Typically, the MetadataSet class is used to pass a group of XML metadata documents to and from MetadataExporter and MetadataImporter objects, such as WsdlImporter and WsdlExporter.
To create a MetadataSet from a IEnumerable object of type MetadataSection, use the MetadataSet constructor. To obtain a IEnumerable object of type MetadataSection, use the MetadataSections property.
In addition, you can use the ReadFrom method to load a MetadataSet from XML data and the WriteTo method to write the internal metadata to an XML format.
This type implements the structure defined in the WS-MetadataExchange specification.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.