Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BufferCell Structure

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents a buffer cell that has a specific character, foreground color, background color, and cell type.

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

Public Structure BufferCell

NameDescription
System_CAPS_pubmethodBufferCell(Char, ConsoleColor, ConsoleColor, BufferCellType)

Creates a new BufferCell object that contains the character, foreground color, background color, and cell type.

NameDescription
System_CAPS_pubpropertyBackgroundColor

Gets and sets the background color of the buffer cell.

System_CAPS_pubpropertyBufferCellType

Gets and sets the type of buffer cell.

System_CAPS_pubpropertyCharacter

Gets and sets the character contained in the buffer cell.

System_CAPS_pubpropertyForegroundColor

Gets and sets the foreground color of the buffer cell.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the current BufferCell structure is equal to the specified object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Gets a hash code for the current BufferCell structure.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Generates a string representation of the current BufferCell structure.(Overrides ValueType.ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(BufferCell, BufferCell)

Compares two BufferCell structures to see whether their respective character, foreground color, background color, and cell type values are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(BufferCell, BufferCell)

Compares two BufferCell structures to see whether their respective character, foreground color, background color, and cell type values are not equal.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: