EntrySelectedBy Element for ListEntry for ListControl (Format)
Defines the .NET Framework types that use this list view definition or the condition that must exist for this definition to be used. In most cases only one definition is needed for a list view. However, you can provide multiple definitions for the list view if you want to use the same list view to display different data for different objects.
Attributes and Elements
The following sections describe the attributes, child elements, and the parent element of the EntrySelectedBy element.
Defines the condition that must exist for this list view definition to be used.
Specifies a set of .NET Framework types that use this list view definition.
Specifies a .NET Framework type that uses this list view definition.
Defines how the rows of the list are displayed.
You must specify at least one type, selection set, or selection condition for a list view definition. There is no maximum limit to the number of child elements that you can use.
Selection conditions are used to define a condition that must exist for the definition to be used, such as when an object has a specific property or that a specific property value or script evaluates to true. For more information about selection conditions, see Defining Conditions for when Data is displayed.
For more information about the components of a list view, see Creating a List View.
The following example shows how to define the objects for a list view using their .NET Framework type name.
<ListEntry> <EntrySelectedBy> <TypeName>NameofDotNetType</TypeName>> </EntrySelectedBy> </ListEntry>
ListEntry Element for ListControl (Format)
SelectionCondition Element for EntrySelectedBy for ListControl (Format)
SelectionSetName Element for EnrtySelectedBy for ListControl (Format)
TypeName Element for EntrySelectedBy for ListControl (Format)
Creating a List View
Defining Conditions for when Data is Displayed
Writing a Windows PowerShell Formatting File