Updates from: 08/28/2021 03:18:24
Service Microsoft Docs article Related commit history on GitHub Change details
developer Outofband Element For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/outofband-element-for-view-format.md
+---
Last updated : 08/27/2021+
+ Title: OutOfBand Element
+description: OutOfBand Element
+---
+# OutOfBand Element
+
+In a pipeline, the first object emitted is chosen as the type to format the output of the pipeline.
+PowerShell attempts for format subsequent objects using the same view. If the object does not fit
+the view, it is not displayed. You can create OutOfBand views that can be used for format these
+other types.
+
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- OutOfBand Element
+
+## Syntax
+
+```xml
+<OutOfBand/>
+```
+
+## Attributes and Elements
+
+The following sections describe attributes, child elements, and the parent element of the
+`OutOfBand` element.
+
+### Attributes
+
+None.
+
+### Child Elements
+
+None.
+
+### Parent Elements
+
+|Element|Description|
+|-------------|-----------------|
+|[View Element](./view-element-format.md)|Defines a view that displays one or more .NET objects.|
+
+## Remarks
+
+When the "shape" of formatting (view) has been determined by previous objects, you may want objects
+of different types to continue using that shape (table, list, or whatever) even if they specify
+their own views. Or sometimes you want your view to take over. When OutOfBand is true, the view
+applies regardless of previous objects that may have selected a different view.
+
+## See Also
+
+[View Element](./view-element-format.md)
+
+[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer View Element Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/view-element-format.md
can be defined in a formatting file.
```xml <View> <Name>Friendly name of view.</Name>
+ <OutOfBand />
<ViewSelectedBy>...</ViewSelectedBy> <Controls>...</Controls> <GroupBy>...</GroupBy>
None.
|Element|Description| |-------------|-----------------| |[Controls Element for View](./controls-element-for-view-format.md)|Optional element.<br /><br /> Defines a set of controls that can be referenced by their name from within the view.|
-|[CustomControl Element](./customcontrol-element-for-groupby-format.md)|Optional element.<br /><br /> Defines a custom control format for the view.|
+|[CustomControl Element](./customcontrol-element-for-view-format.md)|Optional element.<br /><br /> Defines a custom control format for the view.|
|[GroupBy Element for View](./groupby-element-for-view-format.md)|Optional element.<br /><br /> Defines how the members of the .NET objects are grouped.| |[ListControl Element](./listcontrol-element-format.md)|Optional element.<br /><br /> Defines a list format for the view.| |[Name Element for View](./name-element-for-view-format.md)|Required element.<br /><br /> Specifies the name used to reference the view.|
+|[OutOfBand](./outofband-element-for-view-format.md)|Optional element<br /><br />When OutOfBand is true, the view applies regardless of previous objects that may have selected a different view.|
|[TableControl Element](./tablecontrol-element-format.md)|Optional element.<br /><br /> Defines a table format for the view.| |[ViewSelectedBy Element for View](./viewselectedby-element-format.md)|Required element.<br /><br /> Defines the .NET objects that this view displays.| |[WideControl Element](./widecontrol-element-format.md)|Optional element.<br /><br /> Defines a wide (single value) list format for the view.|