ControlAdapter.CalculateOptimumPageWeight(Int32) 方法

定义

确定设备的最佳页面权重。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

protected:
 virtual int CalculateOptimumPageWeight(int defaultPageWeight);
protected virtual int CalculateOptimumPageWeight(int defaultPageWeight);
abstract member CalculateOptimumPageWeight : int -> int
override this.CalculateOptimumPageWeight : int -> int
Protected Overridable Function CalculateOptimumPageWeight (defaultPageWeight As Integer) As Integer

参数

defaultPageWeight
Int32

如果无法确定页面粗细,则使用的页面粗细。

返回

设备的最佳页面权重。

注解

最佳页面权重计算为字符行数的 100 倍。

此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 具有 ASP.NET 的移动应用和网站

适用于

另请参阅