Types Element for SelectionSet
Defines the .NET objects that are in the selection set.
Schema
- Configuration Element
- SelectionSets Element
- SelectionSet Element
- Types Element
Syntax
<Types>
<TypeName>Nameof.NetType</TypeName>
</Types>
Attributes and Elements
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 of Types | Required element. Specifies the .NET object that belongs to the selection set. |
Parent Elements
Element | Description |
---|---|
SelectionSet Element | Defines a set of .NET objects that can be referenced by the name of the set. |
Remarks
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 Sets of Objects.
Example
This example shows a SelectionSet
element that defines four .NET 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>
See Also
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per