แก้ไข

แชร์ผ่าน


Size.Explicit Operator

Definition

Explicitly converts instances of Size to other data types.

Overloads

Explicit(Size to Point)

Explicitly converts an instance of Size to an instance of Point.

Explicit(Size to Vector)

Explicitly converts an instance of Size to an instance of Vector.

Explicit(Size to Point)

Explicitly converts an instance of Size to an instance of Point.

public:
 static explicit operator System::Windows::Point(System::Windows::Size size);
public static explicit operator System.Windows.Point (System.Windows.Size size);
static member op_Explicit : System.Windows.Size -> System.Windows.Point
Public Shared Narrowing Operator CType (size As Size) As Point

Parameters

size
Size

The Size value to be converted.

Returns

A Point equal in value to this instance of Size.

Applies to

Explicit(Size to Vector)

Explicitly converts an instance of Size to an instance of Vector.

public:
 static explicit operator System::Windows::Vector(System::Windows::Size size);
public static explicit operator System.Windows.Vector (System.Windows.Size size);
static member op_Explicit : System.Windows.Size -> System.Windows.Vector
Public Shared Narrowing Operator CType (size As Size) As Vector

Parameters

size
Size

The Size value to be converted.

Returns

A Vector equal in value to this instance of Size.

Applies to