System.Xml.Serialization.SoapSchemaExporter.ExportTypeMapping C# (CSharp) Method

ExportTypeMapping() public method

public ExportTypeMapping ( XmlTypeMapping xmlTypeMapping ) : void
xmlTypeMapping XmlTypeMapping
return void
        public void ExportTypeMapping(XmlTypeMapping xmlTypeMapping) {
            CheckScope(xmlTypeMapping.Scope);
            ExportTypeMapping(xmlTypeMapping.Mapping, null);
        }

Same methods

SoapSchemaExporter::ExportTypeMapping ( TypeMapping mapping, string ns ) : XmlQualifiedName

Usage Example

Ejemplo n.º 1
0
		private XmlSchemas Export (Type type, SoapAttributeOverrides overrides, string defaultNamespace)
		{
			SoapReflectionImporter ri = new SoapReflectionImporter (overrides, defaultNamespace);
			XmlSchemas schemas = new XmlSchemas ();
			SoapSchemaExporter sx = new SoapSchemaExporter (schemas);
			XmlTypeMapping tm = ri.ImportTypeMapping (type);
			sx.ExportTypeMapping (tm);
			return schemas;
		}
All Usage Examples Of System.Xml.Serialization.SoapSchemaExporter::ExportTypeMapping