編輯

共用方式為


SelectionSetName Element for SelectionCondition for Controls for Configuration

Specifies the set of .NET types that trigger the condition. When any of the types in this set are present, the condition is met, and the object is displayed by using this control. This element is used when defining a common control that can be used by all the views in the formatting file.

Schema

  • Configuration Element
  • Controls Element
  • Control Element
  • CustomControl Element
  • CustomEntries Element
  • CustomEntry Element
  • EntrySelectedBy Element
  • SelectionCondition Element
  • SelectionSetName Element

Syntax

<SelectionSetName>NameofSelectionSet</SelectionSetName>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the SelectionSetName element.

Attributes

None.

Child Elements

None.

Parent Elements

Element Description
SelectionCondition Element for EntrySelectedBy for Controls for Configuration Defines a condition that must exist for the control definition to be used.

Text Value

Specify the name of the selection set.

Remarks

Selection sets are common groups of .NET objects that can be used by any view that the formatting file defines. For more information about creating and referencing selection sets, see Defining Sets of Objects.

The selection condition can specify a selection set or .NET type, but cannot specify both. For more information about how to use selection conditions, see Defining Conditions for Displaying Data.

See Also

SelectionCondition Element for EntrySelectedBy for Controls for Configuration

Defining Conditions for When Data Is Displayed

Defining Selection Sets

Writing a PowerShell Formatting File