共用方式為


Size Struct

Definition

Represents a width and height pair.

public value class Size
public struct Size
type Size = struct
Public Structure Size
Inheritance
Size

Constructors

Size(Int32, Int32)

Initialize a new instance of the Size class and defines the Width and Height values.

Properties

Height

Gets and sets the Height.

Width

Gets and sets the Width.

Methods

Equals(Object)

Overrides Equals(Object)

GetHashCode()

Overrides GetHashCode()

ToString()

Overloads ToString()

Operators

Equality(Size, Size)

Compares two instances for equality.

Inequality(Size, Size)

Compares two instances for inequality.

Applies to