View name
Each view is identified by a name.
In a formatting file (*.format.ps1xml
), the name is indicated like so:
<?xml version="1.0" encoding="utf-8" ?>
<Configuration><ViewDefinitions>
<View><Name>name for the view</Name>
…
</View>
</ViewDefinitions></Configuration>
Object that is identified by the view
The
.NET object that is configured by the view is specified with the
<TypeName>
within a
<ViewSelectedBy>
tag: It's possible to list multiple
<TypeName>
:
…
<View>
<Name>…</Name>
<ViewSelectedBy>
<TypeName>…</TypeName>
<TypeName>…</TypeName>
</ViewSelectedBy>
…