Share via


SPFieldNumber.ShowAsPercentage property

Gets or sets a Boolean value that specifies whether to render the field as a percentage.

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

Syntax

'Declaration
Public Overridable Property ShowAsPercentage As Boolean
    Get
    Set
'Usage
Dim instance As SPFieldNumber
Dim value As Boolean

value = instance.ShowAsPercentage

instance.ShowAsPercentage = value
public virtual bool ShowAsPercentage { get; set; }

Property value

Type: System.Boolean
true to render the field as a percentage; otherwise, false.

See also

Reference

SPFieldNumber class

SPFieldNumber members

Microsoft.SharePoint namespace