Expand Minimize

TypeName Element for ViewSelectedBy (Format)

Specifies a .NET Framework object that is displayed by the view.

<TypeName>FullyQualifiedTypeName</TypeName>

The following sections describe attributes, child elements, and the parent elements of the TypeName element.

Attributes

None.

Child Elements

None.

Parent Elements

 

Element Description

ViewSelectedBy Element (Format)

Defines the .NET Framework objects that are displayed by the view.

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 Creating Custom Controls.

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:
© 2014 Microsoft