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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla