﻿<?xml version="1.0" encoding="utf-8"?><Type Name="XmlIncludeAttribute" FullName="System.Xml.Serialization.XmlIncludeAttribute"><TypeSignature Maintainer="auto" Language="C#" Value="public class XmlIncludeAttribute : Attribute" /><TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit XmlIncludeAttribute extends System.Attribute" /><AssemblyInfo><AssemblyName>System.Xml</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>To be added</ThreadSafetyStatement><Base><BaseTypeName>System.Attribute</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Method | System.AttributeTargets.Interface | System.AttributeTargets.All, AllowMultiple=true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="T:System.Xml.Serialization.XmlIncludeAttribute" /> when you call the <see cref="M:System.Xml.Serialization.XmlSerializer.Serialize(System.IO.TextWriter,System.Object)" /> or <see cref="M:System.Xml.Serialization.XmlSerializer.Deserialize(System.IO.Stream)" /> method of the <see cref="T:System.Xml.Serialization.XmlSerializer" /> class.</para><para>When applying the <see cref="T:System.Xml.Serialization.XmlIncludeAttribute" />, specify the <see cref="T:System.Type" /> of the derived class. When the <see cref="T:System.Xml.Serialization.XmlSerializer" /> serializes objects that include both the base and the derived class, it can then recognize both object types.</para><para>You can use the <see cref="T:System.Xml.Serialization.XmlIncludeAttribute" /> to include derived classes in service description documents that are written in the Web Services Description Language (WSDL). For example, if a method returns an <see cref="T:System.Object" />, apply the <see cref="T:System.Xml.Serialization.XmlIncludeAttribute" /> to the method and specify the actual types to return.</para><para>For more information on the WSDL, see "Web Services Description Language (WSDL) 1.1" at www.w3.org.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Allows the <see cref="T:System.Xml.Serialization.XmlSerializer" /> to recognize a type when it serializes or deserializes an object.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public XmlIncludeAttribute (Type type);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Type type) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="type" Type="System.Type" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Xml.Serialization.XmlIncludeAttribute" /> class.</para></summary><param name="type"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Type" /> of the object to include. </param></Docs></Member><Member MemberName="Type"><MemberSignature Language="C#" Value="public Type Type { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Type Type" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Type</ReturnType></ReturnValue><Parameters /><Docs><value>To be added: an object of type 'System.Type'</value><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the type of the object to include.</para></summary></Docs></Member></Members></Type>