共用方式為


SPMobileComponent.VisibleWeight Property

Gets the approximate weight of the control in characters.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property VisibleWeight As Integer
    Get
'Usage
Dim instance As SPMobileComponent
Dim value As Integer

value = instance.VisibleWeight
public override int VisibleWeight { get; }

Property Value

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

Remarks

The default implementation returns 0 if Weightless is true.

For more information, see VisibleWeight and Pagination Support.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace

VisibleWeight

Other Resources

Pagination Support