Size(Double, Double) 构造函数
定义
public:
Size(double width, double height);
public Size (double width, double height);
new Windows.Foundation.Size : double * double -> Windows.Foundation.Size
Public Sub New (width As Double, height As Double)
参数
例外
width 或 height 小于 0。width or height are less than 0.
注解
此结构表示 Windows 运行时 (WinRT) 结构的 .NET 投影 Size 。This struct represents the .NET projection of the Windows Runtime (WinRT) Size struct. 有关详细信息,请参阅 UWP API 参考中的 大小 。For more information, see Size in the UWP API reference.