BufferCellType Enumeration

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Defines the type of buffer cells that can be used to display single-cell or double-cell characters. For example, is the cell complete or is a leading or trailing cell for double-cell characters.

Namespace:   System.Management.Automation.Host
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public enum class BufferCellType

Member nameDescription
Complete

The character occupies one BufferCell structure.

Leading

The character occupies two BufferCell structures, with this cell being the leading cell.

Trailing

The character occupies two BufferCell structures, with this cell being the trailing cell.

A single cell can be used to display characters in languages such as English and Spanish, while two cells are needed to display characters in languages such as Chinese and Japanese.

A Trailing cell must always be preceded by a Leading cell.

Return to top

Community Additions

ADD
Show: