Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions xml/System.Xml.Serialization/SoapIncludeAttribute.xml
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,9 @@
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Apply multiple instances of the <xref:System.Xml.Serialization.SoapIncludeAttribute> to a field or property that returns either an array of objects, an <xref:System.Collections.ArrayList> that contains a collection of objects, or an object that can return multiple types. Set the <xref:System.Xml.Serialization.SoapIncludeAttribute.Type%2A> property for each type that you want the field or property to contain.
## Examples
The following example applies the <xref:System.Xml.Serialization.SoapIncludeAttribute> twice to an XML Web services method. The method returns an object of type `Vehicle` (a base class). The <xref:System.Xml.Serialization.SoapIncludeAttribute> allows the method to return instances of classes derived from the `Vehicle` class.
## Remarks
Apply multiple instances of the <xref:System.Xml.Serialization.SoapIncludeAttribute> to a field or property that returns either an array of objects, an <xref:System.Collections.ArrayList> that contains a collection of objects, or an object that can return multiple types. Set the <xref:System.Xml.Serialization.SoapIncludeAttribute.Type%2A> property for each type that you want the field or property to contain.
]]></format>
</remarks>
Expand Down