Size Structure

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents a width and height pair.

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

public struct Size

NameDescription
System_CAPS_pubmethodSize(Int32, Int32)

Creates a new Size object that contains the specified width and height.

NameDescription
System_CAPS_pubpropertyHeight

Gets and sets the height value.

System_CAPS_pubpropertyWidth

Gets and sets the width value.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the current Size structure is equal to the type, width value, and height value of the specified object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Converts the current Size structure to a string.(Overrides ValueType.ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(Size, Size)

Compares two Size structures to see whether their respective width and height values are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(Size, Size)

Compares two Size structures to see whether their respective width and height 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: