SoapCodeExporter.IncludeMetadata Property

Definition

Gets a collection of XmlIncludeAttribute declarations, specifying derived types.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property System::CodeDom::CodeAttributeDeclarationCollection ^ IncludeMetadata { System::CodeDom::CodeAttributeDeclarationCollection ^ get(); };
public System.CodeDom.CodeAttributeDeclarationCollection IncludeMetadata { get; }
member this.IncludeMetadata : System.CodeDom.CodeAttributeDeclarationCollection
Public ReadOnly Property IncludeMetadata As CodeAttributeDeclarationCollection

Property Value

A CodeAttributeDeclarationCollection that contains the attributes.

Remarks

One or more XmlIncludeAttribute attributes can be applied to a base type to allow one or more derived types to be serialized, depending on an object's actual type at run time.

Rather than use the SoapCodeExporter class, use the Wsdl.exe tool.

Applies to