編集

次の方法で共有


ListControl Element

Defines a list format for the view.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • ListControl Element

Syntax

<ListControl>
  <ListEntries>...</ListEntries>
</ListControl>

Attributes and Elements

The following sections describe the attributes, child elements, and the parent element of the ListControl element. This element must contain only a single child element.

Attributes

None.

Child Elements

Element Description
ListEntries Element Required element.

Provides the definitions of the list view.

Parent Elements

Element Description
View Element Defines a view that is used to display the members of one or more objects.

Remarks

For more information about creating a list view, see Creating a List View.

Example

This example shows a list view for the System.Serviceprocess.Servicecontroller object.

<View>
  <Name>System.ServiceProcess.ServiceController</Name>
  <ViewSelectedBy>
    <TypeName>System.ServiceProcess.ServiceController</TypeName>
  </ViewSelectedBy>
  <ListControl>
    <ListEntries>
      <ListEntry>...</ListEntry>
    </ListEntries>
  </ListControl>
</View>

See Also

View Element

ListEntries Element

Creating a List View

Writing a Windows PowerShell Formatting and Types File