SPMobileControlContainer.VisibleWeight, propriété (Microsoft.SharePoint.MobileControls)

Windows SharePoint Services 3
Gets the approximate weight of the control in characters.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
public override int VisibleWeight { get; }

Valeur de la propriété

An Int32 that represents the weight of the control measured in characters.

In Windows SharePoint Services 3.0 this property always returns either 0 or the value of the "mobile_paginationweight" key in the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\MOBILE\web.config file. The key is set to 50 when Windows SharePoint Services 3.0 is installed, but it can be changed.

VisibleWeight is the value of the "mobile_paginationweight" unless the control is Weightless or the SPContext is null.

For more information, see VisibleWeight and Pagination Support.

Afficher: