TypeName Element for ViewSelectedBy (Format)
Specifies a .NET Framework object that is displayed by the view.
Attributes and Elements
The following sections describe attributes, child elements, and the parent elements of the TypeName element.
Attributes
None.
Child Elements
None.
Parent Elements
Element | Description |
|---|---|
Defines the .NET Framework objects that are displayed by the view. |
Text Value
Specify the fully qualified name of the .NET Framework type, such as System.IO.DirectoryInfo.
For more information about how this element is used in different views, see Creating a Table View, Creating a List View, Creating a Wide View, and Custom View Components.
Example
The following example shows how to specify the ServiceController object for a list view. The same schema is used for table, wide, and custom views.
<View>
<Name>System.ServiceProcess.ServiceController</Name>
<ViewSelectedBy>
<TypeName>System.ServiceProcess.ServiceController</TypeName>
</ViewSelectedBy>
<ListControl>...</ListControl>
</View>
Show: