Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Name Element for View (Format)

 

Specifies the name that is used to identify the view.

<Name>ViewName</Name>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the Name element. Only one Name element is allowed for each view.

Attributes

None.

Child Elements

None.

Parent Elements

Element

Description

View Element (Format)

Defines a view that is used to display the members of one or more .NET Framework objects.

Text Value

Specify a unique friendly name for the view. This name can include a reference to the type of the view (such as a table view or list view), which object or set of objects use the view, what command returns the objects, or a combination of these.

For more information about the different types of views, see the following topics: Table View, List View, Wide View, and Custom View.

Example

The following example shows a View element that defines a table view for the ServiceController object. The name of the view is "service".

<View>
  <Name>service</Name>
  <ViewSelectedBy>
    <TypeName>System.ServiceProcess.ServiceController</TypeName>
  </ViewSelectedBy>
  <TableControl>...</TableControl>
</View>

Show: