TypeName Element for EntrySelectedBy for ListControl (Format)
Specifies a .NET Framework type that uses this entry of the list view. There is no limit to the number of types that can be specified for a list entry.
Attributes and Elements
The following sections describe attributes, child elements, and the parent element of the TypeName element.
Attributes
None.
Child Elements
None.
Parent Elements
Element | Description |
|---|---|
Defines the .NET Framework types that use this list entry or the condition that must exist for this entry to be used. |
Text Value
Specify the fully-qualified name of the .NET Framework type, such as System.IO.DirectoryInfo.
Each list entry must have at least one type name, selection set, or selection condition defined.
For more information about how this element is used in a list view, see List View.
Example
The following example shows how to specify a selection set for an entry of a list view.
<ListEntry>
<EntrySelectedBy>
<TypeName>Nameof.NetType</TypeName>
</EntrySelectedBy>
<ListItems>...</ListItems>
</ListEntry>