TypeName Element for ViewSelectedBy
Specifies a .NET object that is displayed by the view.
Schema
- Configuration Element
- ViewDefinitions Element
- View Element
- ViewSelectedBy Element
- TypeName Element
Syntax
<TypeName>FullyQualifiedTypeName</TypeName>
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 |
---|---|
ViewSelectedBy Element | Defines the .NET objects that are displayed by the view. |
Text Value
Specify the fully qualified name of the .NET type, such as System.IO.DirectoryInfo
.
Remarks
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 System.Serviceprocess.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>
See Also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour