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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för