Elemento SelectionCondition per EntrySelectedBy per ListControl (formato)SelectionCondition Element for EntrySelectedBy for ListControl (Format)
Definisce la condizione che deve esistere per utilizzare questa definizione della visualizzazione elenco.Defines the condition that must exist to use this definition of the list view. Non esiste alcun limite al numero di condizioni di selezione che è possibile specificare per una definizione di elenco.There is no limit to the number of selection conditions that can be specified for a list definition.
Elemento Configuration (Format) elemento ViewDefinitions (Format) elemento View (Format) elemento ListControl (Format) elemento ListEntries (Format) elemento ListEntry (Format) elemento EntrySelectedBy per ListEntry (Format) elemento SelectionCondition per EntrySelectedBy per ListEntry (Format)Configuration Element (Format) ViewDefinitions Element (Format) View Element (Format) ListControl Element (Format) ListEntries Element (Format) ListEntry Element (Format) EntrySelectedBy Element for ListEntry (Format) SelectionCondition Element for EntrySelectedBy for ListEntry (Format)
SintassiSyntax
<SelectionCondition>
<TypeName>Nameof.NetType</TypeName>
<SelectionSetName>NameofSelectionSet</SelectionSetName>
<PropertyName>.NetTypeProperty</PropertyName>
<ScriptBlock>ScriptToEvaluate</ScriptBlock>
</SelectionCondition>
Attributi ed elementiAttributes and Elements
Nelle sezioni seguenti vengono descritti gli attributi, gli elementi figlio e l'elemento padre dell' SelectionCondition
elemento.The following sections describe attributes, child elements, and the parent element of the SelectionCondition
element.
AttributiAttributes
Nessuno.None.
Elementi figlioChild Elements
Elementi padreParent Elements
ElementoElement | DescrizioneDescription |
---|---|
Elemento EntrySelectedBy per TableRowEntry (Format)EntrySelectedBy Element for TableRowEntry (Format) | Definisce i tipi .NET che utilizzano questa voce di tabella o la condizione che deve esistere affinché questa voce venga utilizzata.Defines the .NET types that use this table entry or the condition that must exist for this entry to be used. |
CommentiRemarks
lWhen si definisce una condizione di selezione, si applicano i requisiti seguenti:lWhen you are defining a selection condition, the following requirements apply:
La condizione di selezione deve specificare almeno un nome di proprietà o un blocco di script, ma non è possibile specificarli entrambi.The selection condition must specify a least one property name or a script block, but cannot specify both.
La condizione di selezione può specificare un numero qualsiasi di tipi .NET o set di selezione, ma non è possibile specificarli entrambi.The selection condition can specify any number of .NET types or selection sets, but cannot specify both.
Per ulteriori informazioni sull'utilizzo delle condizioni di selezione, vedere definizione di condizioni per la visualizzazione dei dati.For more information about how to use selection conditions, see Defining Conditions for when Data is Displayed.
Per ulteriori informazioni sugli altri componenti di una visualizzazione elenco, vedere creazione di una visualizzazione elenco.For more information about other components of a list view, see Creating a List View.
Vedere ancheSee Also
Creazione di una visualizzazione elencoCreating a List View
Elemento ListEntry (Format)ListEntry Element (Format)
Scrittura di un file di formattazione di PowerShellWriting a PowerShell Formatting File