Editar

SelectionSetName Element for EntrySelectedBy for ListControl

Specifies a set of .NET objects for the list entry. There is no limit to the number of selection sets that can be specified for an entry.

Schema

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

Syntax

<SelectionSetName>NameofSelectionSet</SelectionSetName>

Attributes and Elements

The following sections describe attributes, child elements, and parent element of the SelectionSetName 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 name of the selection set.

Remarks

Each list entry must have at least one type name, selection set, or selection condition defined.

Selection sets are typically used when you want to define a group of objects that are used in multiple views. For example, you might want to create a table view and a list view for the same set of objects. For more information about defining selection sets, see Defining Sets of objects for a View.

For more information about the components of a list view, see Creating a List View.

Example

The following example shows how to specify a selection set for an entry of a list view.

<ListEntry>
  <EntrySelectedBy>
    <SelectionSetName>NameofSelectionSet</SelectionSetName>
  </EntrySelectedBy>
  <ListItems>...</ListItems>
</ListEntry>

See Also

Creating a List View

EntrySelectedBy Element for ListEntry

Writing a PowerShell Formatting File