Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Defines common settings that apply to all the views of the formatting file. Common settings include displaying errors, wrapping text in tables, defining how collections are expanded, and more.
Schema
- Configuration Element
- DefaultSettings Element
Syntax
<DefaultSettings>
<ShowError/>
<DisplayError/>
<PropertyCountForTable>NumberOfProperties</PropertyCountFortable>
<WrapTables/>
<EnumerableExpansions>...</EnumerableExpansions>
</DefaultSettings>
Attributes and Elements
The following sections describe attributes, child elements, and the parent element of the
DefaultSettings element.
Attributes
None.
Child Elements
| Element | Description |
|---|---|
| DisplayError Element | Optional element. Specifies that the string #ERR is displayed when an error occurs while displaying a piece of data. |
| EnumerableExpansions Element | Optional element. Defines the different ways that .NET objects are expanded when they are displayed in a view. |
| PropertyCountForTable | Optional element. Specifies the minimum number of properties that an object must have to display the object in a table view. |
| ShowError Element | Optional element. Specifies that the full error record is displayed when an error occurs while displaying a piece of data. |
| WrapTables Element | Optional element. Specifies that data in a table is moved to the next line if it does not fit into the width of the column. |
Parent Elements
| Element | Description |
|---|---|
| Configuration Element | Represents the top-level element of a formatting file. |
Remarks
See Also
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.
PowerShell