Expand Minimize

Types Element for SelectionSet (Format)

Defines the .NET Framework objects that are in the selection set.

<Types>
  <TypeName>Nameof.NetType</TypeName>
</Types>

The following sections describe the attributes, child elements, and the parent element of the Types element. There must be at least one child element, but there is no maximum limit to the number of child elements that can be added.

Attributes

None.

Child Elements

 

Element Description

TypeName Element for Types (Format)

Required element.

Specifies the .NET Framework object that belongs to the selection set.

Parent Elements

 

Element Description

SelectionSet Element (Format)

Defines a set of .NET Framework objects that can be referenced by the name of the set.

The objects defined by this element make up a selection set that can be used by a view, by a definition of a view (views can have multiple definitions), or when specifying a selection condition. For more information about selection sets, see Defining Selection Sets.

This example shows a SelectionSet element that defines four .NET Framework types.

<SelectionSets>
  <SelectionSet>
    <Name>FileSystemTypes</Name>
    <Types>
     <TypeName>System.IO.DirectoryInfo</TypeName>
     <TypeName>System.IO.FileInfo</TypeName>
     <TypeName>Deserialized.System.IO.DirectoryInfo</TypeName>
     <TypeName>Deserialized.System.IO.FileInfo</TypeName>
    </Types>
  </SelectionSet>
</SelectionSets>



Show:
© 2014 Microsoft