2.2.3.5.1 TypeRoot

The TypeRoot complex type defines the type of a root element for an XML document that describes a CLR type. The description includes public instance properties and fields of the CLR type. This recursively includes descriptions of those field and property types.

The following code is the XML schema (XSD) for the TypeRoot complex type.

 <xs:complexType name="TypeRoot">
   <xs:sequence>
     <xs:element name="Types" type="linqexpression:ArrayOfType"/>
     <xs:element name="Assemblies" type="linqexpression:ArrayOfAssembly"/>
     <xs:element name="Definition" type="linqexpression:TypeReference"/>
   </xs:sequence>
 </xs:complexType>

The following table describes the child elements for the TypeRoot complex type.

Element

Type

Description

Types

ArrayOfType

An array of CLR type descriptions that are referenced directly or indirectly by the type Definition. Any AssemblyReference that appears in a type description MUST have an ID that matches the ID of an Assembly element under the Assemblies element.

Assemblies

ArrayOfAssembly

Descriptions of the assemblies that are referenced in the Types array.

Definition

TypeReference

The definition for the type that is being described by this TypeRoot element.