| description | Name Element for View |
|---|---|
| ms.date | 08/23/2021 |
| title | Name Element for View |
Specifies the name that is used to identify the view.
- Configuration Element
- ViewDefinitions Element
- View Element
- Name Element
<Name>ViewName</Name>The following sections describe attributes, child elements, and the parent element of the Name
element. Only one Name element is allowed for each view.
None.
None.
| Element | Description |
|---|---|
| View Element | Defines a view that is used to display the members of one or more .NET objects. |
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.
The following example shows a View element that defines a table view for the System.ServiceProcess.ServiceController
object. The name of the view is "service".
<View>
<Name>service</Name>
<ViewSelectedBy>
<TypeName>System.ServiceProcess.ServiceController</TypeName>
</ViewSelectedBy>
<TableControl>...</TableControl>
</View>