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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈