TypeName Element for EntrySelectedBy for ListControl

Specifies a .NET 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.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • ListControl Element
  • ListEntries Element
  • ListEntry Element
  • EntrySelectedBy
  • TypeName Element

Syntax

<TypeName>Nameof.NetType</TypeName>

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
EntrySelectedBy Element for ListEntry Defines the .NET 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 type, such as System.IO.DirectoryInfo.

Remarks

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>

See Also

Creating a List View

EntrySelectedBy Element for ListEntry

SelectionSetName Element for EntrySelectedBy for ListEntry

Writing a PowerShell Formatting File